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 are facelets templates?

1077


What is the use of http-tunneling in rmi?

1097


What is variable length arguments in java?

1032


What is the original name of java?

1165


Can I declare class as static or private?

1010


Explain aggregation in java?

1012


What is variable explain?

1046


What is native method in java?

1117


How do you use equal in java?

1159


Does constructor creates the object ?

1076


How are the elements of a gridbaglayout organized?

1118


What happens when main () method is declared as private?

1183


How do you insert a line break?

959


What is string buffer?

987


What is the simpletimezone class in java programming?

1163