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


Please Help Members By Posting Answers For Below Questions

What is super in oop?

599


What is polymorphism used for?

572


officer say me - i am offered to a smoking , then what can you say

1578


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1403


What is coupling in oop?

598






What is interface in oop?

662


What is multilevel inheritance explain with example?

626


What is the real life example of polymorphism?

605


Why is polymorphism important in oop?

631


What is solid in oops?

607


What are the important components of cohesion?

554


What is the oops and benefits of oops programming?

553


What is destructor example?

595


Are polymorphisms mutations?

701


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2759