Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    dragstang86 is offline Member
    Join Date
    Jun 2011
    Posts
    46
    Rep Power
    0

    Default Re: Why are Random Characters appearing in my output??

    Well that's weird. After sitting for a few minutes, the compiler stopped complaining. Initially it was complaining about not finding index. Thanks for the help.

  2. #22
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Why are Random Characters appearing in my output??

    Generic ArrayList:

    Java Code:
    ArrayList<MyClass>
    Nongeneric ArrayList

    Java Code:
    ArrayList
    Change all blank ArrayList declarations to declarations with generic statements (the <...>).

    i.e., this

    Java Code:
    private ArrayList furn1 = new ArrayList<Furniture>();
    becomes this

    Java Code:
    private ArrayList<Furniture> furn1 = new ArrayList<Furniture>();
    Last edited by Fubarable; 09-23-2011 at 03:29 AM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. output characters equal to an intiger value?
    By smokey888 in forum New To Java
    Replies: 5
    Last Post: 12-17-2010, 09:58 AM
  2. How to encode a fileHandler to output french characters ?
    By l.najm@acteos.com in forum Advanced Java
    Replies: 4
    Last Post: 04-22-2010, 09:21 AM
  3. JDialog appearing in the toolbar
    By riddick in forum New To Java
    Replies: 6
    Last Post: 11-06-2009, 02:19 PM
  4. Replies: 12
    Last Post: 09-23-2009, 09:14 AM
  5. jfilechooser not appearing
    By letter5 in forum New To Java
    Replies: 5
    Last Post: 02-15-2009, 04:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •