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

yes,but it is declare to inner class,not to outter class.if we are declaring "private" to outter class nothing can be accessaed from that outter class to inner class.

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays static in java?

1023


What is variable length arguments in java?

930


Why do we use variables?

941


Can a private method of a superclass be declared within a subclass?

985


What are the various access specifiers in java?

967


What is difference between checked and unchecked exception in java?

980


What is called module?

934


What is assembly language?

940


What should I import for arraylist in java?

994


What do you understand by Header linked List?

1053


What are the advantages of java?

948


What does provide mean construction?

1065


What are serialization and deserialization?

1212


What is compareto?

982


What is unicode datatype?

937