1.what are two type of classe members called?
2.what is data hiding and data encapsulation?
3.how do you make a class member visible aouside its class?
4.what is the default visibility of a class data member?
5.what are the advantages of oop over the structured
programing?
Answer Posted / sidhartha
1) Data members and member functions.
2) Wrapping up of data into a single logical unit is known
as data encapsulation.
3) By using public specifier in the class.
4) private specifier is the default visibility mode.
5) (a)It is a bottom up approach.
(b)Emphasis is on data.
(c)large programs can be divided into objects.
(d)objects have their relevant own data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between polymorphism and inheritance?
What do you mean by Encapsulation?
Is this job good for future? can do this job post grduate student?
What makes a language oop?
What is difference between abstraction and encapsulation?
What are benefits of oop?
Can you explain polymorphism?
What is encapsulation process?
What are the benefits of polymorphism?
What is a function in oop?
what is the sylabus for priliminaries?
What is destructor in oop?
What is polymorphism and types?
How can you overcome the diamond problem in inheritance?
Can main method override?