Computer Science 202
Introduction to Programming
Fall 2012, The College of Saint Rose
Agenda
You may do this by yourself or with a partner. Write a Java program in BlueJ similar to the HelloYou example that prompts its user for a word, then uses the word entered, prints some meaningful message. The structure of the program should be very similar to HelloYou, but be sure to use meaningful names for your variables and a meaningful class name. It does not need to be complex. Something along the lines of "What is your favorite color?" and if you type in "blue", it would respond, "I like blue, too!". Also be sure to include your name(s) in the comment at the top of the program.
Submit just the Java file in Blackboard under the "Lecture Assignments" category to the "Lecture 4 In-Class Exercise" item. This will earn you 5 lecture assignment points.
Due at the start of class, Tuesday, September 11.
Please submit answers to these questions in Blackboard by the start of class. We will discuss these questions at the start of class, so no late submissions are accepted.
KNIGHT 202assignments FavoriteColor darth vader BugsBunny! WHEN_IS_LUNCH? gotCash$$ jeter2 little Red Wagon school_name
System.out.print("Hi " + "there.\n"); System.out.print("I really, really like "); System.out.println("this class!");
Examples