Answer Posted / satwant singhnagpal
In sleep method the thread does not release the object lock
| Is This Answer Correct ? | 3 Yes | 11 No |
Post New Answer View All Answers
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?
What are multiple inheritances? Is it supported by java?
What is charat ()?
Which is faster set or list in java?
What does n mean in java?
Can an unreferenced object be referenced again?
What is the major advantage of external iteration over internal iteration?
Can we have two main methods in a java class?
Is 0 true or is 1 true?
explain autoboxing in java?
What is the purpose of default constructor?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
Can java inner class be static?
Is 0 true or false in java?
Explain importance of finally block in java?