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 the Diff. between Access Specifiers and Access
Modifiers?

Answer Posted / sujit kumar nishank

Access specifier :- it is used in java when we declare a method,viarable or class then it specify how it access to other classes .
. it is of 4 types
public(access everywhere like any classes and any package and inherited)
private(access itself with in the package and it is not inherited)
protected(access any classes with in the same package and it is inherited)
defaults(it same as protected but not inherited )

access modifier
final
static
abstract

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does collectionutils isempty check for null?

1379


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1945


What is the replace tool?

1087


What does int argc char * argv [] mean?

945


What are the benefits of immutable objects?

959


Does A Class Inherit The Constructors Of Its Superclass?

1017


What is the disadvantage of java?

905


Is 0 true or false in java?

954


What method is used to specify a container's layout in java programming?

1066


Is null function in java?

987


What are the 4 types of characters?

960


What is deserialization?

980


5 Coding best practices you learned in java?

988


Can we declare register variable as global?

902


How to overcome the exception object reference not set to an instance of object?

1114