what is difference between c++ language and java language
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 ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is overriding vs overloading?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What are the 3 principles of oop?
what is the drawback of classical methods in oops?
What is the types of inheritance?
explain sub-type and sub class? atleast u have differ it into 4 points?
Do you know about multiple inheritance?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is abstract class in oops?
Is enum a class?
What is oops in simple words?
What is difference between oop and pop?
Write a program to reverse a string using recursive function?
Which language is not a true object oriented programming language?
What is polymorphism and example?