Is integer passed by reference in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can we override the static method?
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?
Hi Friends.. can any one provide the real time example for methodoverloading and methodoverriding .........
State the merge-sort principle and its time complexity.
0 Answers Akamai Technologies,
Is it possible to override the main method?
Is empty in java?
What is a class variable?
Urgent requirement of JAVA/.NET/QA in a CMMI level3 MNC for Pune location.
What are the legal operands of the instanceof operator?
Is string a wrapper class?
What is difference between static variable and global variable?
What is structure of java heap? What is perm gen space in heap?