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 type of loop is a for loop?
What are two types of polymorphism?
What does sksksk mean in text slang?
c++ program to swap the objects of two different classes
What is a null tree?
What is coupling in oop?
What is encapsulation oop?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Is this job good for future? can do this job post grduate student?
What is pointer in oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is and I oop mean?
What does oop mean in snapchat?
What is polymorphism and example?