What are the advantages of java over C++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is regex used for?

0 Answers  


How variables are stored in memory?

0 Answers  


Is set ordered?

0 Answers  


Explain the difference between comparator and comparable in java?

0 Answers  


How do you format in java?

0 Answers  






Will the compiler creates a default constructor if I have a parameterized constructor in the class?

0 Answers  


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

0 Answers  


Does java support Operator Overloading?

0 Answers   Flextronics,


Distinguish method overloading and method overriding

4 Answers   Tech Mahindra,


What happens if we override only equals?

0 Answers  


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?

6 Answers  


What is string example?

0 Answers  


Categories