Results 1 to 3 of 3
  1. #1
    keo
    keo is offline Member
    Join Date
    May 2010
    Posts
    34
    Rep Power
    0

    Default Help with method signature

    incompatible types - found Name but expected java.util.ArrayList<Name>
    Java Code:
        public [B][SIZE="5"]Name[/SIZE][/B] method()
        {
            ArrayList<Name> list;
                 (CODE)
            return list;
        }
    How do I write "Name" So that it lets me return the list. Name[] and Name<> doesn't work, so not sure what to write.

  2. #2
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Posts
    952
    Rep Power
    5

    Default

    Java Code:
            public ArrayList<Name> method() {
                    ...
            }
    -Gary-

  3. #3
    keo
    keo is offline Member
    Join Date
    May 2010
    Posts
    34
    Rep Power
    0

    Default

    thank you!, quick solution but been struggling on it for the past hour..

Similar Threads

  1. Replies: 2
    Last Post: 03-26-2010, 06:12 PM
  2. Digital Signature Expired
    By Pryach in forum New To Java
    Replies: 1
    Last Post: 03-09-2010, 07:15 PM
  3. Increase signature length?
    By xcallmejudasx in forum Suggestions & Feedback
    Replies: 3
    Last Post: 12-18-2008, 07:04 PM
  4. Signature
    By Zosden in forum Suggestions & Feedback
    Replies: 13
    Last Post: 06-29-2008, 06:18 AM
  5. Help with signature matching
    By cachi in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 09:21 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
  •