Quiz5.wi11

Quiz5.wi11 - Signature _ cs8w _ CSE 8A Quiz 5 Winter 2011...

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

View Full Document Right Arrow Icon
Signature _____________________ CSE 8A Name ________________________ Quiz 5 cs8w ____ Winter 2011 Student ID ____________________ This quiz is to be taken by yourself with closed books, closed notes, no electronic devices. Matching: _____ Field/Data in an object _____ Messages sent to objects _____ A way to create a new object _____ Code to initialize a newly created object _____ Must be the same name as the class name _____ Refers to the object being sent a message inside a method _____ Must have a return type in its header _____ If uninitialized, has no default value (garbage) _____ Must not have a return type as part of its header _____ Return type for accessors/getters _____ Can only be accessed by its simple name, no reference qualifier _____ By Java naming convention, starts with an uppercase letter _____ A sometimes "better" return type for mutators/setters _____ Methods or constructors that have the same name but differ in the number, type, or order of parameters _____ Most instance variables should be this access mode
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 note was uploaded on 08/31/2011 for the course CSE 8a taught by Professor Kube,p during the Fall '08 term at UCSD.

Page1 / 2

Quiz5.wi11 - Signature _ cs8w _ CSE 8A Quiz 5 Winter 2011...

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