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 difference betwenn Access Specifier and Access
Modifier ????

Answers were Sorted based on User's Feedback



what is difference betwenn Access Specifier and Access Modifier ????..

Answer / praveen111tripathi

Access Specifiers specify the scope of anything(D.M,Member
function ,class)while Access modifiers define that thing's
accessibility in different scops
A.S. in java
1-Public
2-default
3-protected
4-private
A.M. in java
static,final etc.

Is This Answer Correct ?    19 Yes 1 No

what is difference betwenn Access Specifier and Access Modifier ????..

Answer / sudhir dhumal

Access specifiers specify the access level.

There are four access specifiers:
public, private, protected and default

Access modifiers are the keywords used to modify the statement and specify the access level.

There are three access modifiers:
public, private and protected
*Here we don't write default which means we are not modifying the statement so its not a access modifier it just specify the access level

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

0 Answers   Bravura Solutions,


What do you mean by multithreaded program?

0 Answers  


What is the difference between serialization and deserialization?

3 Answers   ABC,


Advantages of Inheritance in java.

11 Answers   CybAge, HCL,


If an application has multiple classes in it, is it okay to have a main method in more than one class?

0 Answers  


What is the console in java?

0 Answers  


What is default size of arraylist in java?

0 Answers  


Can you pass by reference in java?

0 Answers  


What is stringreader?

0 Answers  


explain the difference between jdk and jvm?

0 Answers  


why java is platform independent?

5 Answers   IBM, SparkTG,


How do constructors use this() and super()?

0 Answers  


Categories