How do you declare a destructor in java?
Answer / Nihit Kumar
There is no concept of destructors in Java. Instead, the object's memory gets automatically freed when it goes out of scope.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which class cannot be a subclass in java?
What is the use of arraylist in java?
What Is Pointer?
What is another word for methodology?
What is the difference between the paint() and repaint() methods?
How do you read and print a string in java?
What is namespace in java?
What is stringreader?
why do we use interface in java?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
Can java list be null?
Name the types of 'priority'?