CS 120 Instructor: Jeffrey Horn PRACTICE QUIZ 1 NAME: _____________________
OPEN NOTES, but NOT OPEN COMPUTER and NO COLLABORATION!!!!
class Quiz1practice
{ public static void main(String[] args)
{
String word1, word2, word3, word4, word5;
word1="the "; word2="land "; word3="map "; word4="is ";
word5 = "not ";
String sentence = word1 + word3 + word4 +
word5 + word1 + word2;
System.out.println(sentence);
}
}