Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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


Please Help Members By Posting Answers For Below Questions

hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1175


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1125


What is purpose of inheritance?

200


What is encapsulation in simple terms?

174


What are functions in oop?

172






i got a backdoor offer in process global,Bangalore..Can i work with it?

1886


What is object-oriented programming? Webopedia definition

212


what is graphics

1612


Why do we use oop?

194


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1242


Why do we use class?

201


What are oops methods?

183


What is an example of genetic polymorphism?

202


What is solid in oops?

187


Why is object oriented programming so hard?

178