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 difference between class template and template class?

2245


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3659


Why do we use class in oops?

646


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1242


Please send ford technologies placement paper 2 my mail id

1735






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?

1489


What is class encapsulation?

709


When not to use object oriented programming?

671


What is the difference between encapsulation and polymorphism?

680


Why do we use oop?

693


What is polymorphism explain its types?

781


Explain the concepts involved in Object Oriented programming.

740


What is the point of oop?

743


What is solid in oops?

706


Write a program to reverse a string using recursive function?

1879