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


Please Help Members By Posting Answers For Below Questions

What causes polymorphism?

673


What is an interface in oop?

675


What is destructor in oop?

699


How Do you Code Composition and Aggregation in C++ ?

24419


What are the advantages of polymorphism?

670






What is encapsulation example?

639


What are the benefits of interface?

678


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?

2040


Why is static class not inherited?

692


Can static class have constructor?

675


What is abstraction with example?

712


What is destructor example?

687


Why it is called runtime polymorphism?

677


What is polymorphism explain?

802


What is the importance of oop?

698