Answer Posted / kabita
we can handle exception by using
try
catch
finally
throw
throws.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why does java doesnt suuport unsigned values?
What is diamond operator in java?
What are the new features in java 8? Explain
If an object is garbage collected, can it become reachable again?
What is the main use of java?
What is the difference between serial and throughput garbage collector?
Explain the difference between arraylist and linkedlist in java?
What is a nested class?
What is module in project?
Can we define private and protected modifiers for the members in interfaces?
How do you remove duplicates in java?
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?
Why can't you declare a class as protected?
What is the purpose of using break in each case of switch statement?
Is an integer an object?