| Author |
List initialization syntax
|
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Hi Folks,
what is the difference between
and
please explain
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
The first one allows you to create an anonymous class, subclass of ArrayList, where you can override the superclass methods.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
thanks Christophe Verré
|
 |
 |
|
|
subject: List initialization syntax
|
|
|