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 / naveen
yes, by using inheritance we can access public members of
class in other class
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
what is graphics
What makes a language oop?
Why multiple inheritance is not allowed?
What is an example of genetic polymorphism?
What is an interface in oop?
What are the three parts of a simple empty class?
What is object-oriented programming? Webopedia definition
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?
What is the purpose of enum?
What is oops with example?
What is the real time example of encapsulation?
How do you achieve polymorphism?
What is the problem with multiple inheritance?
What is polymorphism explain?
What is overloading and its types?