What is the difference between C++ & Java?
Answer Posted / manish kumar
1- java does not support operator overloading.
2- does not support template.
3- not support global variable.
4- there are no header file in java.
5- java does not use pointer.
6- does not support multiple inheritance.
general answer for interview.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why java strings are immutable in nature?
Define how does a try statement determine which catch clause should be used to handle an exception?
Differentiate between vector and array list.
What happens if a constructor is declared private?
What are implicit objects in java?
What are methods of a class?
What is the use of protected in java?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
How do you clear a list in java?
Can we override the overloaded method?
Can we override private method?
Where is core java used?
How to split a string in java?
What is the method in java?
How many types of variables are there?