can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...}
Answer Posted / aseet padhi
yes.We can handle by using Throwable in catch block because
it's super class of Exception.
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
make a method which any number and any type of argument and print sum of that arguments.....
What is the difference between assignment and initialization?
What is the += operator called?
What is class variable java?
What is the importance of main method in Java?
How do you empty a list in java?
What do you know about java?
Why is it called a string?
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 is the integer of 16?
what is the use of bean managed and container managed with example?
What is lazy initialization in java?
What is meant by class loader? How many types are there? When will we use them?
How many types of flags are there?
What are the features of java?