2) Suppose there are 5 directories having lot of files (say
txt files) in each directory. 2 things :-
2.1) You want to search for filenames which have a
particular pattern.
2.2) Out of these filtered files you want to search for a
particular keyword or a search string.

How can you achieve this?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

can any one send me the example program of immutable class?

2 Answers   Arfin, TCS,


Does printwriter create a file?

0 Answers  


wht is customised exception?

1 Answers   Logica CMG, Novell, Prudential,


What is the benefit of abstract class?

0 Answers  


what is mean by method signature?

5 Answers   Satyam,






What is high level language in computer?

0 Answers  


What is sleep method?

0 Answers  


What is the difference between class & object?

0 Answers  


Does variable declaration allocate memory?

0 Answers  


How to declare objects of a class ?

0 Answers   Akamai Technologies,


What are command line arguments?

3 Answers  


How do you sort an array in java?

0 Answers  


Categories