What is array size in java?
No Answer is Posted For this Question
Be the First to Post Answer
What are unchecked exceptions in java?
What does java final mean?
what is Inheritense
How does system arraycopy work in java?
what is static import in java? Explain
What is the specification of ?CODEBASE? in an applet?
What is the difference between static synchronize() metod and synchronize() method?
What is data movement?
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 are abstract classes and anonymous classes?
0 Answers Flextronics, Thomson Reuters, Virtusa,
Why is java called java?
How does java enable high performance?