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 percentage sign called?
What is visibility mode?
What is the difference between the file and randomaccessfile classes?
What are the limitations of procedural programming approach?
What are the difference between composition and inheritance in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
Can we able to pass objects as an arguments in java?
Is empty .java file name a valid source file name?
What do you mean by Hash Map and Hash Table?
What are the important methods of java exception class?
What is http client in java?
Can a method be overloaded based on different return type but same argument type?
What is locale?
Explain access specifiers?
How to sort an array in java without using sort method?