C and C++ has constructors and distructors, why does Java
does not have distructors?
Answer Posted / sandesh magdum
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 |
Post New Answer View All Answers
What is the functionability stubs and skeletons?
What is a variable simple definition?
Can we use catch statement for checked exceptions?
What is a boolean structure?
How can you set the applet size?
What is the independent variable in an experiment?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is the default value of float and double datatype in java?
How do you join strings in java?
Are functions objects in java?
What is difference between == equals () and compareto () method?
What is foreach loop in java?
What is the java project architecture?
Explain the different forms of polymorphism?
What are new features introduced with java 8 ?