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

What is java lang object?

967


What do you understand by classes in java?

1002


What is the difference between throw and throws in java?

1096


What is string data?

980


How is hashset defined in java?

1033


How can we make sure main() is the last thread to finish in java program?

1192


Can you explain the private protected field modifier?

1025


What is integer size in java?

1017


what are synchronized methods and synchronized statements? : Java thread

990


Can an unreferenced object be referenced again?

1186


Explain about complier design(phases)

1079


What is codebase?

996


What is an image buffer?

989


Will minecraft java be discontinued?

1160


How do you remove all elements from an arraylist in java?

1020