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 a class oop?
What is oops and why we use oops?
Why is oop useful?
What are the three main types of variables?
What is polymorphism used for?
how to get the oracle certification? send me the answer
What is the highest level of cohesion?
What do you mean by Encapsulation?
What is abstraction in oop with example?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is the problem with multiple inheritance?
What is balance factor?
What is class and example?
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