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...


Nested classes VS Inner classes?

Answers were Sorted based on User's Feedback



Nested classes VS Inner classes?..

Answer / neeraj agrawal

nested class are those class with in another class
whose defined in static modifier while inner class are those class with in another class is called inner class.
ya we can say static class are nested class while inner class are non static class.

Is This Answer Correct ?    11 Yes 3 No

Nested classes VS Inner classes?..

Answer / kamal hassan

A staic class difined with in anothaer class is called
nested class.
A non static class defined in another class is called inner
class.

Is This Answer Correct ?    7 Yes 0 No

Nested classes VS Inner classes?..

Answer / balakrishna

A class consist of another class is called "Nested Class"
but in main method if we consist of classes it is
called "Inner Classes"

Is This Answer Correct ?    0 Yes 12 No

Post New Answer

More Core Java Interview Questions

Can we have a method name same as class name in java?

0 Answers  


How to print a statement without using semicolan in java

6 Answers   HCL, IBM,


Default layout of panel and frame?

3 Answers  


what is filters and its use?

2 Answers   Virtusa,


Explain parallel processing in java8?

0 Answers  


Why do we create public static method in java?

0 Answers  


what is java

10 Answers  


What is the indent key?

0 Answers  


Difference between a Scrollbar and a ScrollPane?

1 Answers  


What is purpose of applet programming?

0 Answers  


What is string builder in java?

0 Answers  


Why only one Class is public in one file? Explain in details. Thanks in Advance.

12 Answers  


Categories