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
What is difference between pop and oop?
What is difference between data abstraction and encapsulation?
What are the components of marker interface?
What are the three parts of a simple empty class?
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
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(); }
What is the types of inheritance?
What is the difference between abstraction and polymorphism?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is meant by multiple inheritance?
Explain the concepts involved in Object Oriented programming.
What is class and object in oops?
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?
Can we create object of abstract class?