adding integers to strings
is there a way to put integers in strings?
like in the following script putting the string values in characters is there a way to put in numbers instead?
class Sid {
public static void main(String[] arguments) {
String heads = "tweleve";
String noses = "thirteen";
String organs = "zero";
String guess = "twenty-five";
System.out.println("you have " + heads + " heads and " + noses + " noses");
System.out.println("The computer guesses you have " + guess + " limbs");
organs = "twenty-five";
System.out.println("Answer: \n\t" + organs.equals(guess));
System.out.println("in total you have:\n\t twenty-five limbs!");
System.out.println("hmm.. how many characters are there in twenty-five?");
int length = organs.length();
System.out.println("there are " + length + " charachters in " + organs);
}
}

