What is runtime polymorphism or dynamic method dispatch?
No Answer is Posted For this Question
Be the First to Post Answer
What are the limitations for static method?
What is the method used to get the absolute value of a number?
Tell me a few examples of final classes defined in Java API?
Can I override protected method in java?
What are the types of methods in java?
difference between java ,c#&java,c++
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 a parameter in a function?
What is the life cycle of Thread ?
12 Answers HCL, Varnar Softech,
How do you declare an empty string?
What is difference between float and double?
what is meant by HQL?