Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Computer Technical Help

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-24-2005, 03:58 PM
DireWolf DireWolf is offline
Senior Member
Join Date: Nov 2004
Posts: 137
Default Java help

I just beginning programming/java so bear with me.

Im trying to create a list.

i imported List with:

import java.util.List;

In a method i try to create my list with:

List<Character> chars = new List<Character>();

(This is Java 1.5, so i have to include the type of List when creating it)

The error message i get is:

java.util.List is abstract; cannot be instantiated

Anyone have any ideas??
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.