C and C++ has constructors and distructors, why does Java
does not have distructors?
Because java has automatic garbage collection feature and java
does not let you illegally or accidentally release memory
occupied by an object.
Is This Answer Correct ? | 7 Yes | 1 No |
Define canvas?
How do you sort a string in java?
How can we use primitive data types as objects?
What are the five major types of reference sources?
How do you create a method in java?
How to instantiate member inner class?
What are the advantages of encapsulation in java?
Why to use nested classes in java?
Can we restart a thread already started in java?
What is a buffer in computer?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
What is the meaning of nullable?