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...

how many access specifiers are available in java

Answer Posted / anjani kumar jha

There are four access specifiers are available in java

Public-----------access to all

Private---------limited to class only

Protected---------limited to sub package of class

Default------------limited to same package

Is This Answer Correct ?    52 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is e java?

1104


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

1114


What are the object and class classes used for?

1044


Java.util.regex consists of which classes?

997


What is a function argument in java?

997


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1169


What methodology can be employed to locate substrings inside a string?

959


What is return null in java?

964


Is java util regex pattern thread safe?

1019


What are loops in java? What are three types of loops?

1033


Explain about oops concepts.

1123


What is difference between pointer and reference?

1069


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

2147


What is considered an anti pattern?

932


Explain with example the concept of constant variable in java.

1181