What is the difference between the prefix and postfix forms of the ++ operator?
No Answer is Posted For this Question
Be the First to Post Answer
How the interruptible method gets implemented?
how an we achive multiple inhetitance in java using interface..??
Can Applet have constructors?
What is the length of a string?
What is the difference between super class & sub class?
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 Null object?
Give me some null interfaces in java?
What is the difference between a scrollbar and a scrollpane?
Who is the owner of java?
What is finally in exception handling?
does java support default argument in Method?