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

Is space a char?

920


What is a flag variable?

966


What is the static field modifier?

1121


Can we extend singleton class in java?

956


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

1257


What is the common usage of serialization?

1133


What is fail first in java?

1179


What is the type of lambda expression?

1017


What is meant by main method?

1058


What are the advantages of assembly language?

925


What is byte code and why is it important to java’s use for internet programming?

1121


What is the program development process?

968


Explain about narrowing conversion in java?

1000


Which are the two subclasses under exception class?

1082


When will we prefer to use set and list in java and why?

959