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 / aditya kumar

yes,from Java8 we can also declare private and protected Top level classes.....but i am not getting the reason behind this why oracle did it.So if any one has it's explanation plz tell me....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is high level language in computer?

1020


What is class??

1238


What is the full form of jpeg?

963


What is the symbol for average?

1030


Can an interface extend a class?

990


What are the two basic ways in which classes that can be run as threads may be defined?

1075


Why is java logo a cup of coffee?

1172


Tell us something about different types of casting?

935


How are the elements of a gridbaglayout organized in java programming?

983


What is thread synchronization in java?

892


What are thread safe functions?

949


What is prefix of a string?

1041


Can private class be extended java?

1026


Explain about java sdk?

1036


Explain listiterator and methods in listiterator?

1018