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

Access Specifiers
They are used to set the visibility of a
class or variable or a method.
ex:public,private,protected and default.

Access Modifiers
They are used to optionally declare a
field.
ex:abstract,native,transient,final,static and volatile.

Is This Answer Correct ?    11 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some features of the abstract class.

1117


What is the benefit of abstract class?

995


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

1022


What is the importance of hashcode() and equals() methods?

1090


What is the effect of keeping a constructor private?

999


Why are global variables used?

1072


Does java linked list allow duplicates?

1020


Define max and min heap, also the search time of heap.

1075


Is static variable stored in heap?

1050


What is the main use of generics in java?

1073


What are daemon Threads in java?

1261


How can we make a class singleton?

1126


Explain the protected field modifier?

1150


Is singleton a bad practice?

1105


Why parameters should be passed by reference?

1008