What does this () mean in constructor chaining concept?
No Answer is Posted For this Question
Be the First to Post Answer
Can you add null to a list java?
why java does not support mulitple inheritance directly?
Difference between this() and super() in java ?
What is difference between calling start() and run() method of thread?
public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?
What is an inner class in java?
What is application system?
What is meant by method overriding?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What do you mean by ordered and sorted in collections in java?
Why put method is idempotent?
What is the main use of java?