Originally posted by chandru K:
It will return the implementing class of that interface.
e.g If a method is returning List it means that It is returning one of the classes which implemented list like ArrayList.......
Oh, is
that what it means. You are quite right, and I totally misunderstood the original question.
BTW: The ArrayList which is returned from the Arrays.toList() method is a different class from the ArrayList we all know and love.