CSE 283 Introduction to Object Oriented Design

Barbara Nostrand, Ph.D.


CSE 283 Labs
Welcome to the site for CSE 283 Labs!

 

Lab 6: Prelab Questions

Prev | Next | Lab 6

Print a copy of this page and referring to the lab exercise, answer each of the questions on your copy. (You must turn in your answers at the beginning of your laboratory session.)


1. To prevent the attributes of a class from being accessed directly by programs using the class, they are declared as __________ .




2. The methods of a class provide a means by which the __________ on a class object can be performed.




3. A method that automatically initializes a class object when that object is defined is called a __________.



4. A method that returns an attribute of an object is called an __________.





5. A method that changes the state of an object is called a __________.




Prev | Next | Lab 6

 
  Home

Schedule

Help

Lab 0

Lab 1

Lab 2

Lab 3

Lab 4

Lab 5

Lab 6

Lab 7-8

Lab 9

Lab 10

Lab 11

Lab 12

Lab 13






Last modified: 2007 OCT 17
bnostran@syr.edu