Pls...could any one tell me that whether we can access the
public data memeber of a class from another class with in
the same program.
Awaiting for your response Thanku
Answer Posted / poorna chandar rao
yes accesses the public member of data of another class by
using Extend from another class
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What causes polymorphism?
What is an interface in oop?
What is destructor in oop?
How Do you Code Composition and Aggregation in C++ ?
What are the advantages of polymorphism?
What is encapsulation example?
What are the benefits of interface?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
Why is static class not inherited?
Can static class have constructor?
What is abstraction with example?
What is destructor example?
Why it is called runtime polymorphism?
What is polymorphism explain?
What is the importance of oop?