What are inner class and anonymous class concept in Programming?
Submitted by: AdministratorInner class in Programming:
classes defined in other classes, including those defined in methods are called inner classes. An inner class can have any accessibility including private.
Anonymous class in Programming:
Anonymous class is a class defined inside a method without a name and is instantiated and declared in the same place and cannot have explicit constructors.
Submitted by: Administrator
classes defined in other classes, including those defined in methods are called inner classes. An inner class can have any accessibility including private.
Anonymous class in Programming:
Anonymous class is a class defined inside a method without a name and is instantiated and declared in the same place and cannot have explicit constructors.
Submitted by: Administrator
Read Online Programming Job Interview Questions And Answers
Top Programming Questions
☺ | What is the difference between procedural and object-oriented programs? |
☺ | Can a method be overloaded based on different return type but same argument type in programming? |
☺ | List out some of the object-oriented methodologies? |
☺ | What is difference between overloading and overriding in programming language? |
☺ | Who were the three famous amigos and what was their contribution to the object community? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |