Yes there is

public String clubSize(final String clubName) {

if(clubName.equals("Norwich") return "MAMMOTH";
if(clubName.equals("Ipswich") return "nanoscale";
else return "OK, if you like that kind of thing";

}

Posted By: Old Man, Jan 21, 19:52:25

Follow Ups

Reply to Message

Log in


Written & Designed By Ben Graves 1999-2025