Access every file with .java extension

i have a directory called 'repRacine' that contains 13 directory like this chapter 1 , chapter 2 ....until chapter13 .

And every directory from these 13 , contains files (images ,text ,java files .....ext)

i want to know how to access any file of '.java' extension and add at the first line (package chapter number 'i') , for exemple : directory 'chapter1'...

Read More »

By: StackOverFlow - Friday, 9 November

Related Posts