What is the difference between throw and throws?
Answer Posted / rajanani
'throw' is declare the exception and throws is defined the
exception
| Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
Why do we use bufferedreader?
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?
How do you reverse a string in java?
Explain the significance of listiterator.
What is locale in java?
Explain creating threads by extending thread class ?
Is Java a dying language?
Does unicode support all languages?
What is a parameter used for?
Does a class inherit the constructors of its superclass in java programming?
What is class forname used for?
What is the meaning of I ++ in java?
Can we increase size of array?
What do you understand by synchronization?
Where is singleton pattern used?