Objects or references which of them gets garbage collected?
No Answer is Posted For this Question
Be the First to Post Answer
What is <> used for in java?
Explain the selection sort algorithm?
Explain the difference between comparator and comparable in java?
How the interruptible method gets implemented?
what models are available for event handling?
What is backdrop?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
Is java call by value?
How many types of gc are there in java?
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?
What is java util hashmap?
What are the different types of inner classes?