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 new keyword in oops?
What is destructor oops?
Can destructor be overloaded?
What are different oops concepts?
Why multiple inheritance is not allowed?
Why is abstraction used?
What is polymorphism in oop example?
What is oops and its features?
What does sksksk mean in text slang?
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?
write a program to find 2^n+1 ?
What is the difference between a constructor and a destructor?
What is byval and byref? What are differences between them?
What is polymorphism and why is it important?
What is static modifier?