Which keyword is written to use a variable declared in one
class in the other class?
Answer Posted / monica
public
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is a class in oop?
How do you explain polymorphism?
How can you overcome the diamond problem in inheritance?
Explain the concepts involved in Object Oriented programming.
Why is destructor used?
Can main method override?
What is the difference between inheritance and polymorphism?
Why it is called runtime polymorphism?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What are functions in oop?
When not to use object oriented programming?
What is persistence in oop?
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 are the benefits of interface?