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 / n.shyam sunder rao

1.Static & Non-static
2.covering all entities like function,variables, data type
within a single entity called as class is known as data
encapsulation.
Data hiding refers to the privacy of information that are
seen within the class that is not visible to the functions
outside the class.
3.By using access specifier public.
4.default scope, that is same class,subclass with in the
same package,other classes within the same package.
5.i).Overloading functions.
ii).Code Re usability.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1752


What do you mean by overloading?

679


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6245


Why do we use oop?

693


What is inheritance in oop?

683






What is polymorphism what are the different types of polymorphism?

649


Why do we use polymorphism?

653


What is the full form of oops?

784


What is the example of polymorphism?

655


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2040


What is abstract class in oops?

676


Is react oop?

708


Why is oop useful?

699


Get me an image implementation program.

1637


Where is pseudocode used?

645