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 can a class be accessed, If no access modifiers are
declared?

Answer Posted / ranganathkini

If a class is marked with no access modifiers then it is
given "package" access by default which means it can be
instantiated or subclasses by other classes in the same
package but it is inaccessible to classes outside the same
package.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java a super set of javascript?

1060


What do you mean by hashing?

1061


Which class contains a method: cloneable or object?

1005


What is the difference between static method and instance method in Java?

1148


How do you use substring in java?

1076


Can I learn java without any programming experience?

997


Can I declare a class as private?

1032


What is string intern in java?

986


How do you sort in ascending order in java?

829


What are multiple inheritances?

1070


what is mena by object block any what is the use of that

2171


What is a function in programming?

996


What is a method in coding?

1012


Is 0 an even number?

941


Where are global variables stored?

905