Explain final, finalize() and finally?
Answers were Sorted based on User's Feedback
Answer / ajit kumar
write a program explain the exception handling machanisms
in java using the keywords try catch and finaly ?
| Is This Answer Correct ? | 4 Yes | 12 No |
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. (
In a class implementing an interface, can we change the value of any variable defined in the interface?
What is string manipulation?
What is the ==?
Why string is not thread safe?
What is user defined exception?
Discuss different types of errors that generally occur while programming.
What is a singleton factory?
What is the difference between stream and buffer?
what is the difference between String s="hello"; and String s=new String("hello");?
Can I uninstall java?
what is the main differene between synchronize() method and Synchronize{}block?