Answer Posted / rohit
when jvm find that the object of that class is not used for
long time ,if that situation occurs then jmv jmv
automatically calls that garbage collector
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is set string?
How can we make sure main() is the last thread to finish in java program?
What is the integer of 16?
Define a package.
Can we override private constructor in java?
What do you mean by multithreaded program?
What is square root in java?
Why there are some null interface in java? What does it mean?
Enlist diffrent types of inheritance supported by java?
What are the advantages and disadvantages of object cloning?
Why do we need singleton class?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Explain what access modifiers can be used for methods?
Justify your answer that you can't define a method inside another method in java, if you can then how?
What is purpose of applet programming?