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 is the fundamental idea of oop?
Why do we use oops?
How do you define a class in oop?
What are the benefits of interface?
Write a program to sort the number with different sorts in one program ??
What is the real life example of polymorphism?
What is encapsulation c#?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
explain sub-type and sub class? atleast u have differ it into 4 points?
write knight tour problem which is present in datastructure
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is abstraction oop?
How is class defined?
What is multilevel inheritance in oop?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer