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 ascii code?
What is the difference between public, private, protected, and friend access?
What are "class access modifiers" in Java?
What are the different types of methodologies?
Explain implementation and how is it different from conversion?
What is a instance variable in java?
How do you declare a destructor in java?
How can we break singleton in java?
What is import java util arraylist?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
explain copyonwritearraylist and when do we use copyonwritearraylist?
Which list does not allow duplicates in java?
Why java is call by value?
what is object slice?
What is hashtable and explain features of hashtable?