Search Interview Questions
| 3193 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core java - Interview Questions and Answers for 'Publishers clearing house (pch)' - 1 question(s) found - Order By Newest|
|Ans. Destructor is used to de-allocate memory allocated by objects. |
There are no destructors in Java. Alternatively, Java provides Automatic garbage collection i.e automatically releasing the un-referenced memory.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve destructor garbage collection Mahindra Comviva Quinnox MathWorks Wipro Publishers Clearing House (PCH) Compro Technologies Basic   frequent|
Try 1 Question(s) Test
|What are constructors and Destructors in Java ?|
|Why don't Java objects have destructors ?|
|In Java, would you like to see an explicit destructor?|