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

Is string is a class in java?

0 Answers  


Is null a value?

0 Answers  


I have a string like _a01_a02_a03_ and another string like _2_1.5_4_ as input.I want to extract a01,a02... to a string array and 2,1.5,etc to a double array with a01 corresponds to 2 and a02 to 1.5 etc. Need code in core java.. Can you do it?

1 Answers   Cognizant,


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

0 Answers  


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

0 Answers   Akamai Technologies,


Program to print 1 1 2 1 2 3 1 2 3 4 like that

8 Answers   Huawei,


Can we call virtual funciton in a constructor ?

0 Answers   XX,


what is overloading and overriding with example?

2 Answers   CMC,


What are examples of modifiers?

0 Answers  


What is the purpose of extern variable?

0 Answers  


How many bytes is a string?

0 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

0 Answers  


Categories