What is the difference between C++ and java?
Answer Posted / ridicule
The main difference b/w c++ & java is:
* c++ is a platform dependent language.
* but java is platform independent language.it can be run
on every system which contain java virtual machine(jvm)
*both use oop concept,
we can write a c++ pgm without using class but class is
must in java;
that is java is pure oop language
Is This Answer Correct ? | 24 Yes | 5 No |
Post New Answer View All Answers
What is encapsulation with example?
What is difference between multiple inheritance and multilevel inheritance?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What causes polymorphism?
What is the significance of classes in oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Why is polymorphism important in oop?
Where You Can Use Interface in your Project
What is encapsulation example?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is the types of inheritance?
How is polymorphism achieved?
#include
#include
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.