Answer Posted / 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 |
Post New Answer View All Answers
Define how does a try statement determine which catch clause should be used to handle an exception?
What are the two environment variables that must be set in order to run any java programs?
What are the basic concepts of OOPS in java?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is integer valueof?
What does next mean in java?
What is the difference between arraylist and hashset in java?
What is a class component?
Should database connections be singleton?
Differentiate between stringbuffer and stringbuilder in java.
Define inheritance with reference to java.
What is the purpose of the return statement?
What is unicode full form?
What is e in java?
How do you declare a string variable?