Results 1 to 3 of 3
Thread: Help with method signature
- 06-02-2010, 11:19 AM #1
Member
- Join Date
- May 2010
- Posts
- 34
- Rep Power
- 0
Help with method signature
incompatible types - found Name but expected java.util.ArrayList<Name>
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.Java Code:public [B][SIZE="5"]Name[/SIZE][/B] method() { ArrayList<Name> list; (CODE) return list; }
- 06-02-2010, 11:23 AM #2
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
-Gary-Java Code:public ArrayList<Name> method() { ... }
- 06-02-2010, 11:25 AM #3
Member
- Join Date
- May 2010
- Posts
- 34
- Rep Power
- 0
Similar Threads
-
method not abstract, does not override actionperformed method.
By Theman in forum New To JavaReplies: 2Last Post: 03-26-2010, 05:12 PM -
Digital Signature Expired
By Pryach in forum New To JavaReplies: 1Last Post: 03-09-2010, 06:15 PM -
Increase signature length?
By xcallmejudasx in forum Suggestions & FeedbackReplies: 3Last Post: 12-18-2008, 06:04 PM -
Signature
By Zosden in forum Suggestions & FeedbackReplies: 13Last Post: 06-29-2008, 05:18 AM -
Help with signature matching
By cachi in forum New To JavaReplies: 1Last Post: 07-31-2007, 08:21 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks