When does an object becomes eligible for garbage collection in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Why are pointers not secure?

0 Answers  


What is string pool?

0 Answers  


What is functional interface in java example?

0 Answers  


What is file class and what is its purpose?

1 Answers  


What is the difference between compile-time polymorphism and runtime polymorphism?

0 Answers  


Difference between current previous versions of Java?

0 Answers   Atos Origin,


10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;

2 Answers  


What is indexof?

0 Answers  


Define an abstract class with reference to java.

0 Answers  


how to pass the parameters to applets?

1 Answers  


Can we override protected method in java?

0 Answers  


What two classes are used to read data only?

0 Answers   TryTechnicals Pvt Ltd,


Categories