What is OOP Language?
No Answer is Posted For this Question
Be the First to Post Answer
What is a numeric literal?
How many bits is a double?
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?
how we can write the string concatenation program in java.
What is the difference between the boolean & operator and the && operator in java programming?
How can we achieve thread safety in java?
What is annotation in java?
Where are the card layouts used?
Explain pass by reference and pass by value?
Explain the significance of class loaders in bootstrap?
Why is whitespace important?
What is merge sort in java?