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 |
What an i/o filter in java programming?
What is map in java?
What are the legal operands of the instanceof operator?
What is array class in java?
what is the use of custom tags? with example?
What is the Vector class?
what is meant by Garbage collection?
What is data string?
How is java hashmap implemented?
What is difference between pointer and reference?
What is the difference between jvm and jre? What is an interface?
What is the purpose of extern variable?