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
What is polymorphism what are the different types of polymorphism?
What are the benefits of oop?
What is object in oop?
what is graphics
Why is abstraction used?
What language is oop?
What is the example of polymorphism?
What is polymorphism and example?
What is variable example?
Why do we use encapsulation in oops?
What is multilevel inheritance in oop?
What is property in oops?
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
write a program to find 2^n+1 ?
What does oop mean in snapchat?