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
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
What is polymorphism in oop example?
what type of question are asked in thoughtworks pair programming round ?
What is difference between multiple inheritance and multilevel inheritance?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is byval and byref? What are differences between them?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
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 polymorphism programming?
What are two types of polymorphism?
Why is abstraction needed?
What are oops methods?
What does sksksk mean in text slang?
What are properties in oop?
What is the main purpose of inheritance law?