What is the difference between C++ & Java?
Answer Posted / abdull wadood
In c++ you can use destructor but in java u can't use
destructor.
In java u can request the compiler to garbage collector.
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
Can you call one constructor from another if a class has multiple constructors?
What is the main use of java?
What is a marker interface?
Can we override a variable in java?
What do you mean by checked exceptions?
Can we use both this () and super () in a constructor?
How will you initialize an Applet?
How does callback work in java?
How do you print array in java?
What are the approaches that you will follow for making a program very efficient?
Can we pass a primitive type by reference in java? How
What are exceptions
Differentiate between the constructors and methods in java?
What is close method? How it's different from Finalize & Dispose?
How many types of exception can occur in a java program?