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 the default value of local and global variables?
What is java algorithm?
How do you convert boolean to boolean?
Why is the type for real numbers called double?
What is the difference between Array and Hash Table?
What is a dynamic array java?
Is java same as core java?
What are different access specifiers in java?
How do you find the independent variable?
How do you create a first line indent?
what is an objects lock and which objects have locks? : Java thread
When is the finally clause of a try-catch-finally statement executed?
What is the destroy method?
What are the super most classes for all the streams?
Explain purpose of sleep() method in java?