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 java util?

1014


Is hashmap thread safe?

980


What are the different types of multitasking?

1101


Difference between stack and queue?

1073


Is hashset sorted in java?

1181


What is the difference between an array and an array list?

1016


Can you inherit from an abstract class java?

991


What is a copy constructor in java?

1118


Is finalize() similar to a destructor?

1020


Does java arraylist maintain insertion order?

986


How are this() and super() used with constructors in java programming?

1061


What is the importance of finally block in exception handling?

1026


What happens when I use / and % with a negative numerator?

1039


What is <> used for in java?

1110


Can we have this () and super () together?

1041