Homework 2

Modified

Overview - The purpose of the homework is to review Chapter 1 concepts and practice skills needed throughout the course. 

Assignment

Place all results into a Word document named HW2.

  1. Chapter 1 of notes, Exercises 21-23.
  2. In Exercise 18, you created a LabClass object. Write the corresponding Java code.
  3. In Exercise 19, you enrolled a student. Write the corresponding Java code.
  4. Write the signature for a method named send that has one parameter of type String and does not return a value.
  5. Write the signature for a method named average that has three parameters of type int and returns an int value.
  6. Is this homework you are reading an object or a class? If it is a class, name some objects; if an object, name its class.

Turn in

  1. Page 1- Your name, date, and Homework 2 should be on the first page.
  2. Class and Screen results - Follow the instructions for Assignment 1-6; copy and paste specified results into the HW2 Word document.
  3. C201 OnCourse Dropbox - Place the Word document in C201 OnCourse dropbox as HW2.