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
How do you answer polymorphism?
what type of question are asked in thoughtworks pair programming round ?
Can we override main method?
What are the three main types of variables?
Can enum be null?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is abstraction in oop?
What type of loop is a for loop?
What is coupling in oop?
What is the real time example of encapsulation?
What is ambiguity in inheritance?
Give two or more real cenario of virtual function and vertual object
What are the 3 pillars of oop?
Why is destructor used?
Why is encapsulation used?