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
How many human genes are polymorphic?
How can you overcome the diamond problem in inheritance?
what type of questions
What is a null tree?
What is abstract class in oops?
Which language is not a true object oriented programming language?
What are classes oop?
What is destructor oops?
What is the main feature of oop?
How do you achieve runtime polymorphism?
What is static modifier?
Why do we use oops?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is the benefit of oop?
Why do we need oop?