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...

can we declare private class in java file?

Answer Posted / eonsimi

nested classes can be decalred as private and they can be accessed by its siblings and by their parent.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which graphs are functions?

952


Why charat is used in java?

1038


Why 1 is not a prime number?

1012


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

1092


What is a layout manager and what are different types of layout managers available in java awt?

1229


What is a local block?

1113


When a byte datatype is used?

2148


What is the covariant return type?

1069


Explain about sets?

994


Is array an object in java?

944


Why are constructors used?

1010


What is nan inf?

1052


What is numeric function?

984


What is nested top-level class?

1019


Can extern variables be initialized?

932