Answer Posted / reena ashok mohite
Public, Protected And Private these Are the Access Specifier Which We Use In Within The Class,
We Can Use Protected Access specifier In The Class And Its Derived Class,
we Can Use Public Access Specifier throught out the class,
(Anywhere In The Class)
And Private Specifier Can Be Accessable Within The Class Where It Is Declared........
This Is Useful To Data Hiding Purpose
Thanks........
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the real time example of inheritance?
Is data hiding and abstraction same?
What are benefits of oop?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is difference between abstraction and encapsulation?
Why is encapsulation used?
what are the different types of qualifier in java?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is methods in oop?
What makes a language oop?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What are oops methods?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is data binding in oops?
what's the basic's in dot net