PreLab09-classes - Name: Section Leader: Edward Leon Knapp...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Name: Edward Leon Section Leader: Knapp Pre-Lab 09 – CSC 127A – Spring 2008 (15 points) Required Reading: Sections 7.1 – 7.7, 7.9, 7.10 Please read at least these sections of your text. Then answer the following questions and be prepared to turn them in at the beginning of your lab section on either 4/01 or 4/02. A word-processed write-up is preferred, but handwritten is acceptable as long as it is legible. You may NOT work with anyone else on this pre-lab. Topics: Defining a class, instance variables, writing class methods, writing constructors, access modifiers: public versus private, accessor and mutator methods, data manipulation methods, "this", toString and equals methods. 1. What is a Class definition composed of? A class definition normally is comprised with data that explains a person, place, or thing. The data of these classes are called fields. 2. What is the purpose of access modifiers ? The purpose of an access modifier is to specify where the class or member of a class can be used.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This lab report was uploaded on 04/18/2008 for the course CSC 127a taught by Professor Suzanne during the Spring '07 term at University of Arizona- Tucson.

Page1 / 3

PreLab09-classes - Name: Section Leader: Edward Leon Knapp...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online