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

how many access specifiers are available in java

Answer Posted / gyana

there are four access specifier in java.they are

public - means the the properties of class is accessable
to all other classes.
private- means the the properties of class cannot
accessable to any other classes.
protected- means the properties of class will acessed only
to its subclasses,not subclasses of its subclasses.
no access - mean you can access it with in the class.

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between notify() method and notifyall() method in java?

916


What is default exception handling in java?

974


What is concurrent hashmap and its features?

1022


What does g mean in regex?

937


Does list allow duplicates in java?

884


explain the concept of virtual method invocation in polymorphism in detail?

2157


Explain about collection interface in java?

936


Can the interface be final?

965


What is the loop in java?

1052


What is the size of an array?

963


What is the main difference between java platform and other platforms?

999


Explain illegalmonitorstateexception and when it will be thrown?

1040


What is the list interface in java programming?

1041


Why is core java important?

992


What is the difference between preemptive scheduling and time slicing?

1005