I have a class called Card (a playing card, e.g. the ace of spades)
and want to implement java.util.List<Card>, but when I write the code
for its constructor:

private List<Card> mCards = new List<Card>();

eclipse Ganymede complains with the error: "cannot instatiate the type
List<Card>".  I don't understand why!  The class Card works fine.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to