What is the life-cycle of an object?

Answer Posted / javamasque

The life cycle of an object starts with instantiation and ends with garbage collection

Is This Answer Correct ?    51 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is equals method in java?

524


Is 0 true or false in java?

517


How to implement an arraylist in java?

508


Can we force the garbage collection to run?

538


What is a “stateless” protocol ?

559






Why does java not support pointers?

554


What is time complexity java?

538


What is the purpose of file class?

550


What is the use of StringTokenizer class?

611


What is concurrent hashmap and its features?

526


What are different types of arrays?

535


What things should be kept in mind while creating your own exceptions in java?

632


In java how do we copy objects?

553


What is static method with example?

620


Are primitives objects?

566