Common Ancestor to Java Array and List
Posted
by Phuong Nguyen de ManCity fan
on Stack Overflow
See other posts from Stack Overflow
or by Phuong Nguyen de ManCity fan
Published on 2010-03-14T13:45:44Z
Indexed on
2010/03/14
13:55 UTC
Read the original article
Hit count: 229
java
|enumerable
In .NET, both array and list have Enumerable as ancestor, so a method that accept Enumerable as an argument can receive both array and list as its argument. I wonder if there is a similar thing in Java?
© Stack Overflow or respective owner