In what ways you can handle exception ?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
using try catch
using throws for delegation of exceptions
using throw to define an exception
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / kabita
we can handle exception by using
try
catch
finally
throw
throws.
| Is This Answer Correct ? | 1 Yes | 1 No |
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
How thread scheduler schedule the task?
What are class members by default?
What is Session reduplication and how its done?
What are the main features of java?
Does java have extension methods?
Can a method inside a interface be declared as final?
What is the independent variable in an experiment?
How do you convert string to int in java?
What is the meaning of flag day?
Where will it be used?
Can a final variable be initialized in constructor?