if (allTheBoats[i].boatName.equals(boat)) {
System.out.println(allTheBoats[i].boatName + "boat ID is " + allTheBoats[i].id + ".");
return;
}
When the boat is found why do you print...
Type: Posts; User: Junky
if (allTheBoats[i].boatName.equals(boat)) {
System.out.println(allTheBoats[i].boatName + "boat ID is " + allTheBoats[i].id + ".");
return;
}
When the boat is found why do you print...
Make an attempt at writing the code. If you get stuck post your code here using code tags, copy and paste exact error messages and ask a specific question.
Do not dump your homework on us and...