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 is a boolean field?
primitive data types in Java ?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
Is java same as core java?
Difference between array and arraylist.
23 Answers Arise Solution, Banca Sella, iFocus, NIC, Sai Softech, Solartis, TCS, Verizon,
How many objects are created when we create String class object using new operator?
What is starvation?
What does the exclamation mark mean in java?
When you declare a method as abstract method ?
What is a for loop in java?
Explain importance of inheritance in java?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?