what is the similarity between C++ and java
Answers
Answered by
1
Answer:
The syntax is very similar.
Both the languages are object-oriented.
The data types are similar.
Answered by
2
Answer:
Both C++ and Java supports Object Oriented Programming:
It support classes and objects. OOPs features include: Inheritance: process by which objects of one class can link and share some common properties of objects from another class. Polymorphism: Allows us to perform a single action in different ways.
Similar questions
Biology,
2 months ago
Social Sciences,
2 months ago
Math,
11 months ago
Science,
11 months ago
Science,
11 months ago