-
Java HELP !!! PLEASE
public Item searchForItem(String description)
I need to return an item
The name of the item is the description,
and the condition should be that :
1. If that object is in the array list(description is the object) i want the description to be returned plus the detail(which is the integer rating)
2. if that object isnt in the array list(description remember is the objects name) i want a message that the object isnt in the array list and so doesnt have details(integer rating)
what will be a code for this?
Thanks
-
Re: Java HELP !!! PLEASE
Moved from the Member Introductions Forum. Please read this: http://www.javaprogrammingforums.com...e-posting.html
Also, that's not really how this works. Please read the link in my signature on asking questions the smart way and try again. This is a technical forum for technical questions (and technical titles), so please post an SSCCE and a specific question. Questions asking "how do I do this" are hard to answer other than to point you to google.