Answer Posted / harika.thota001@gmail.com
Inner Class in java so called nested class is nothing but a class that is being defined inside another class. Inner classes are beneficial in two scenarios i.e. access control and naming control. Although these benefits can be acquired using java packages.
anonymous class is an inner class that does not have a name at all. And whose instance is being created at the time of its creation.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What data structures are used to perform recursion?
Do we have pointers in java?
What is the instance of an object?
How to make a class or a bean serializable?
What does a za z0 9 mean?
Why is java so important?
What is the difference between variable & constant?
Is a case study a method or methodology?
Why is boolean important?
What is string syntax?
What is the difference between synchronized and synchronized block?
What is continuity of a function?
how to write a program for sending mails between client and server
How to overcome the exception object reference not set to an instance of object?
What is balanced tree in java?