Unit 1 -- Csc 115 S01/S02 Spring 2005

Learning Objectives

Review of Csc 110 (intro to Java) material:

Learning Resources

Lecture slides: 1-IntroToJava.ppt
Read the Java Sun tutorial
Read chapter 1 in the textbook.

Sample programs

Self Study Activities


Answer the following questions:
  1. Explain the difference between a class and an object. Draw a conceptualized diagram of a sample class and sample object.
  2. What is the difference between a primitive and a reference variable? Give an example of each.
  3. True or False: A primitive variable is automatically assigned a value when you declare it.
  4. True or False: A variable that is a field as part of a class is automatically assigned a value when you instantiate an object of the class.
  5. How can you easily spot the difference between a constructor and an ordinary method? There are two key clues!
  6. According to the conventions we usually use in Java, what constructs are the following most likely to be:


Go to the course website