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
Answers were Sorted based on User's Feedback
Answer / naveen
yes, by using inheritance we can access public members of
class in other class
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / pramod
If it's about the data accessing, whether public or private
... you can use friend function.This friend function can be
member of 2nd class and friend for the 1st class.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
Prepare me a program for the animation of train
i got a backdoor offer in process global,Bangalore..Can i work with it?
to find out the minimum of two integer number of two different classes using friend function
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
2. Give the different notations for the class.\
What is abstraction example?
sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....
What is the real time example of inheritance?
Write pseudo code for push in a stack?
Explain the concepts involved in Object Oriented programming.
• What are the desirable attributes for memory managment?
Can bst contain duplicates?