Answer Posted / rakesh
finalize() is used to release other resources
held by your object (such as database connections or
file handles)
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How do you override a method in java?
What classes of exceptions may be thrown by a throw statement?
What is the use of put method?
What do you mean by stack?
How to declare objects of a class ?
Explain how can you debug the Java code?
What is string [] java?
What are the new features in java 8?
Is void a wrapper class?
How do you add an element to an arraylist in java?
What do u mean by variable?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
How do you override a private method in java?
What is use of a abstract variable?
What is anagram word?