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 a native method in java programming?
What are thread safe functions?
What happens when you add a double value to a string?
What is the purpose of lambda expressions?
What is a nonetype?
What purpose do the keywords final, finally, and finalize fulfill?
What is public/private protected in java?
What is classes in java?
What is the difference between the paint() and repaint() methods?
What do you mean by platform independence of Java?
What is the difference between preemptive scheduling and time slicing?
What is the difference between a field variable and a local variable?
What is a copy constructor in java?
What is the difference between Java and C++?
Explain 5 features introduced in jdk 1.7?