adspace
Answer Posted / gyana
Java is simply different from C++.Because it do some
modification to c++ then after it publish..So there are 6
major difference here i can explain.These are
1-java doesn't support predessors.Where as C++ support this.
2-Java doesnot support Multiple inheritance however it use
this by using interface.
3-Java doesn't contain any pointer value.
4-Java have no template class.
5-Java doesn't contain any datatype such as
struct,enum,union.
6-Java have no Go to keyword.
Above these points are not supported by java , but
supported by c++.So these are the difference between java
and c++.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Realized?
What is parsing in java?
Write a program to find the whether a number is an Armstrong number or not?
What is java string pool?
How to create a base64 decoder in java8?
How to sort array in descending order in java?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
Is minecraft 1.15 out?
explain different ways of using thread? : Java thread
What is the difference between equals() and == in java?
Differentiate between static and non-static methods in java.
What is the difference between break and continue statements?
Explain public static void main(string args[]) in java.
What is a constructor overloading in java?
What is an object in java and how is it created?