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 the frontend and backedn in Java?
Can one thread block the other thread?
What are structs in java?
Does list allow duplicates in java?
Define class?
i would like to attend for an interview of datalab technologies company i want to know the pattern of imnterview.
Why main function is static?
What does java edition mean?
What are daemon Threads in java?
What is the difference between stringbuffer and stringbuilder class?
what is mean by ooad? where we are using? can you tell me any real time example?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?