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 use of keywords in java?
What is OOP's Terms with explanation?
What is main string [] args?
Explain the difference between comparator and comparable in java?
What is Session reduplication and how its done?
What are the different types of constructor?
What a static class can contains?
Why string objects are immutable in java?
What is the purpose of the return statement?
Can we call the run() method instead of start()?
Can a static method be final?
What languages are pass by reference?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What is the difference between a factory and abstract factory pattern?
What is object-oriented paradigm?