Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is public, protected, private?

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


Please Help Members By Posting Answers For Below Questions

What is the real time example of inheritance?

1146


Is data hiding and abstraction same?

1021


What are benefits of oop?

1129


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1191


What is difference between abstraction and encapsulation?

1075


Why is encapsulation used?

990


what are the different types of qualifier in java?

2274


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2615


What is methods in oop?

975


What makes a language oop?

1055


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).

2154


What are oops methods?

1002


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

2148


What is data binding in oops?

1092


what's the basic's in dot net

2179