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

If a there is no access modifier specified to a class then it
takes the access modifier as Default modifier.Default Access modifier scope is package scope.so this class scope also package scope to access the classes which is having in 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 exception in java?

1090


What is a byte array?

1105


What is method overloading and method overriding?

1064


How finally used under exception handling?

948


What are different access specifiers in java?

1020


What is functional interface in java?

1053


What are the procedures?

1061


How to use arraylist in java netbeans?

1046


What is the java idl system?

1048


Explain the importance of finalize() method.

969


Why we used break and continue statement in java?

1150


What is the tradeoff between using an unordered array versus an ordered array?

1241


What is high level language in computer?

1023


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1220


What are triggers in DB? Explain their types. How do they work?

1092