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 are different types of access modifiers?

Answer Posted / venki

Private : It can access with in the class only
public :It can Access Any where
proteced:It can access with in the package and sub class of
the package also
default:it access with in the package only.

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is the type for real numbers called double?

959


What is an infinite loop? How infinite loop is declared?

1109


What is a byte array?

1099


What is the final field modifier?

974


Tell us something about set interface.

997


Can a static member function access member variable of an object?

1009


Why enumeration is faster than iterator?

937


What is comparable and comparator interface? List their differences

1110


Is ruby built on java?

949


Is arraylist ordered?

1072


What is an enumeration?

1068


What is getclass () getname () in java?

1148


Can a class be a super class and a sub-class at the same time? Give example.

1563


Enlist diffrent types of inheritance supported by java?

918


Which one will take more memory: an int or integer?

1235