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 |
can u override the start() method of Thread class
i would like to attend for an interview of datalab technologies company i want to know the pattern of imnterview.
what is the difference between AWT and SWING what is the advantage of using swing?
how is final different from finally and finalize in java?
Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..
what is meant by HQL?
What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?
How variables are declared?
Explain yield() method in thread class ?
How do you execute a thread in java?
What's the default access specifier for variables and methods of a class?
Can a hashset contain duplicates java?