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 / sankesh sinha

yes it occur when class is inner, top level class not be
private bcoz jvm will not able to compile.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a subsequence of a string?

1039


What are the concepts of 'OOPS'?

1058


What is the main function in java?

1048


What is class level lock ?

1003


What are the important features of Java 9 release?

987


Where is the singleton class used?

1013


What is assembly condition codes?

974


Can we create object of static class?

1004


What is the loop in java?

1112


Which is illegal identifier in java?

1062


What is difference overloading and overriding?

1140


What is data type modifier?

931


How can you set an applet’s height and width as a percentage?

917


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2324


What is the point of polymorphism java?

994