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 / karthick

1.two types of class members are declaration and definition.
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 informations that are
seen within the class that is not visible to the functions
outside the class.
3.By creating objects for the class they can be accessed.
4.The default visibility is always private
5.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between pop and oop?

607


What is difference between data abstraction and encapsulation?

615


What are the components of marker interface?

600


What are the three parts of a simple empty class?

1459


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






What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1983


What is the types of inheritance?

602


What is the difference between abstraction and polymorphism?

617


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

6149


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

1657


What is meant by multiple inheritance?

737


Explain the concepts involved in Object Oriented programming.

635


What is class and object in oops?

609


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?

1942


Can we create object of abstract class?

577