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

can any body body expalin best definitions & best real time exaples for opps concepts.

2231


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

996


What is method in java with example?

913


Tell me how many ways are there to initialise an integer with a constant.

1074


What is nan in java?

959


Where are local variables stored?

932


Can you give names of Container classes?

2272


How can we achieve thread safety in java?

1107


Implementations of set interface?

977


Justify your answer that you can't define a method inside another method in java, if you can then how?

1115


Is list ordered in java?

934


What is the difference between a loader and a compiler?

993


What is the difference between error and an exception?

1089


Explain wrapper classes in java?

954


what happens when a thread cannot acquire a lock on an object? : Java thread

1030