Answer Posted / janet
Inner Class: classes defined in other classes ,including
those defined in methods are called inner classes.
An inner class can have any accessiblity including private.
Anonumous class: 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.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the class in java?
What is sleep method?
Is java owned by oracle?
What do you mean by constructor?
What is the applet security manager, and what does it provide?
What are different type of exceptions in java?
How does the garbage collector works in java?
How will you load a specific locale?
What is a loop java?
What is get () in java?
What is the benefit of lambda expressions?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
how can you take care of mutual exclusion using java threads? : Java thread
Explain the difference between association, aggregation and inheritance relationships.
What is java volatile?