Answer Posted / sathya
Inner classes as name suggests, can be declared within a
class, as for that matter, with in a for statement too... or
with in a method of another class.
Anonymous classes are also inner classes but without a name,
The advantage being more abstraction of code, but more
confusing to beginners
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is array list in java?
Explain java thread life cycle.
Is array an object in java?
Why do we need singleton?
What is singleton class and how can we make a class singleton?
Why do we use string?
Does java have extension methods?
How do you start a thread?
Why do we need hashmap in java?
What is a numeric digit?
What is the replace tool?
What are kinds of processors?
What is final variable?
Does java map allow duplicates?
What is the different types of functions?