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
Are strings immutable in java?
How do you remove an object from an arraylist in java?
What is ph and buffers?
What is fundamental datatype?
Why is the type for real numbers called double?
Can a list be null in java?
Java.util.regex consists of which classes?
What is a byte array?
What is string literal in java?
Why set is used in java?
What is used of static keyword in java?
What are the Static and Dynamic Variables? Differentiate them.
What is a flag value?
What is vector?
Can I learn java without any programming experience?