What is the main difference between C++ and Java
Answer Posted / selva kumar.r
In C++ we can use Inheritance.
there are various types of inheritance in c++
they are
* Simple / Single
* Multilevel
* Hierarchical
* Multiple
* Hybrid
Wheares in Java instead of Inheritance, we can use Interface
This is the major and main difference between C++ and
Java.
Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
What is abstract class in oops?
What is abstraction example?
class type to basic type conversion
What is ambiguity in inheritance?
What is the difference between a constructor and a destructor?
What is abstraction in oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Is react oop?
What does oop mean in snapchat?
What is for loop and its syntax?
What is data binding in oops?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
When not to use object oriented programming?
What is inheritance write a program to show use of inheritance?
What is polymorphism and example?