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 / prema

Access Specifier: It controls the access of class members
and variables by other objects.
Types of access specifiers in Java:
public
private
protected
friendly or package or default

Access Modifiers: Modifiers determine or define how the data
members and methods are used in other classes and objects.
Modifiers in Java:
static
final
abstract
native
synchronized

The main difference between access specifiers and modifiers
is that access specifiers define the accessibility of the
data members in a class and modifiers determine how these
methods are used and modified by other classes

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does singleton class mean?

968


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

1143


What are the steps involved to create a bean?

1150


What is the SimpleTimeZone class?

2273


Can a constructor call the constructor of parent class?

1031


What is a variable declaration?

974


What is boolean law?

1059


Define how objects are stored in java?

1055


Can you sort a list in java?

978


What are the types of java languages?

973


What is an exception? difference between Checked and Unchecked exception in Java

1012


Write a method that will remove given character from the string?

1022


How do you input a string in java?

1066


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

2126


Is it possible to override the main method?

975