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

Is null an object in java?

1010


What is a method in coding?

1034


What’s the difference between the methods sleep() and wait()?

997


What is a buffer in computer?

975


Is java written in c?

941


Does unicode support all languages?

1011


What are aggregate functions explain with examples?

1042


What is the function of compareto in java?

1029


What does nextint () do in java?

961


What is multithreading in java?

1039


What is the difference between jdk and jre?

1038


What is boolean false?

959


What are inbuilt functions in java?

1051


What is a function easy definition?

990


how can i use a nonsynchronized hashtable?

2552