What is the difference between C++ and java?
Answer Posted / poorna
c++ and java these both are object oriented programming
langauge but java elimainated some of the difficulty of
pointers are eliminated in java
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
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?
What is basic concept of oop?
Can we have inheritance without polymorphism?
What is an advantage of polymorphism?
What are two types of polymorphism?
What does enum stand for?
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
What is oops concept with example?
What is abstraction encapsulation?
What does and I oop mean in text?
What are objects in oop?
What is coupling in oops?
What is the highest level of cohesion?
What is polymorphism used for?
What is an interface in oop?