Print File name and extension in Java | WAP to input file path and print file name | BluejCode

preview_player
Показать описание
Write a program to input full path of a file and print file name, file path and file extension separately in Java.

Hi! In this video we will learn how to print file name and extension separately in the easiest way possible in Java.
If video narration seems slow please increase the playback speed of the video but do watch the video till the end.

Feel free to comment if you have any doubt.

You can also follow me on :-
_________________________________________________________________________

If you Like this video give it a Thumbs Up. Subscribe and press the Bell icon Don't forget to Share the video

Thanks for watching, Stay happy and stay blessed :)

Keep Learning :)

_______________________________________________________________________

Playlists :-

#fileprograminjava
#stringprograminjava
#stringprogramicse
#icsejavaprograms
#icsearrayprogramsinjava
Рекомендации по теме
Комментарии
Автор

Thnkuuu so much...i could not ever know that this program is so easy...
Btw i was solving ten years..then this question came....and i cant understand a single word....thnkuuu😊😊😊😊😊😊😊😊😊😊😊😊😊😊

krishnamaheshwari
Автор

Your teaching is easy to understand
Thanks 👍

bhavnoorkaursandhu
Автор

Thanks a lot this video was highly required

fayezakaunain
Автор

Thank you so much. You explained it very nicely ❤

suja_rahaman
Автор

Pls can u explain this question

In order to purchase an old car, the depreciated value can be calculated as per the tariff given below:

No. of years used Rate of depreciation

1 10%

2 20%

3 30%

4 50%

Above 4 years 60%


Write a menu driven program to input showroom price and the number of years the car is used ('1' for one year old, '2' for two years old and so on). Calculate the depreciated value. Display the original price of the car, depreciated value and the amount to be paid.

vedangkashyap
Автор

Sir can u pls help me with these programs
Write a program to accept 15 city names in an array and display if the given city is present in it or not using linear search.
Write a program to accept n integer elements in an array and store & display the even numbers and odd numbers in different arrays
arrays.
Write a program to input 10 employee names and their corresponding salary in two different one dimensional arrays. Display the highest salary along with the employee name
Define a class CreditCard having the following description:-
Instance Variables:
String name – customer name
int amount – stores the amount spent
double cashback – stores the cash back from the company
Member Functions:
a) Parameterized constructor to initialize name and amount
b) void compute() – calculate the cashback based on the
following criteria:
Amount (in Rs) Cash Back (in Rs)
First 1000. 100
Next 2000. 200 + 2% of the amount
Exceeding 1000
Next 4000. 400 + 4% of the amount exceeding 3000
Next 8000. 800 + 8% of the amount exceeding 7000
c) void output() – display the details in different lines.
Write a main() to create an object and call the above member methods.

jdjdjdj
Автор

can u please help me with these
1. WAP to input 10 integers in an array and print the prime numbers present in.
2.WAP to accept marks of 20 students in a subject and display the name of the student who scored max. marks using array

fayezakaunain
welcome to shbcf.ru