What is the main difference between C++ and Java
Answer Posted / ram s
the main difference is java is a fully object oriented
programming language.but c++ doesn't,because it was not
support fully opp's concept.and also we are using java we
can devolope any type of application but c++ doesn't.
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Which type does string inherit from?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What polymorphism means?
What is destructor example?
Whats is abstraction in oops?
What is data binding in oops?
Explain the advantages of inheritance.
Can a varargs method be overloaded?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is encapsulation and abstraction? How are they implemented in C++?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What are the benefits of polymorphism?
What is polymorphism and example?
What is stream in oop?