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

How many types of constructors are used in java?

1094


What is structure of java heap? What is perm gen space in heap?

1049


What is the difference between a method and a function in alice?

1091


Why is stringbuffer called mutable?

933


What is currentthread()?

933


What is string builder?

841


You're given a Boolean 2D matrix, can you find the number of islands?

1046


Is java ee a framework?

928


Is java platform independent?

922


What does || || mean in math?

880


What is the string function?

901


What are internal and external variables?

905


What is the difference between length and size in java?

932


What is string subsequence method?

1068


Is zero a natural number?

974