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

Two types of data members are- Data members and Member
functions.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an advantage of polymorphism?

591


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2104


What is variable example?

593


What is the main feature of oop?

618


What is difference between inheritance and polymorphism?

571






Where is pseudocode used?

563


Are polymorphisms mutations?

699


What are different oops concepts?

575


What is the purpose of enum?

581


What is encapsulation example?

545


What are the 4 pillars of oop?

670


Can we override main method?

607


How do you define a class in oop?

628


What is difference between abstraction and encapsulation?

592


What is overriding in oops?

602