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
☺ | Who were the three famous amigos and what was their contribution to the object community? |
☺ | Can a method be overloaded based on different return type but same argument type in programming? |
☺ | If a class is declared without any access modifiers, where may the class be accessed? |
☺ | What are the advantages of OOPL in a programming language? |
☺ | What is meant by “method-wars” in Programming? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |