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
What is polymorphism explain?
What is polymorphism what are the different types of polymorphism?
What is polymorphism and types?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Explain the advantages of inheritance.
What is object in oops?
What is the purpose of polymorphism?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
How do you achieve runtime polymorphism?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
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 does and I oop and sksksk mean?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What does it mean when someone says I oop?
What are the types of abstraction?