Lecture 07-Inside-Out, Super-This

Lecture 07-Inside-Out, Super-This - CS1110 21 Sept 2010...

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

View Full Document Right Arrow Icon
1 CS1110 21 Sept 2010 Inside-out rule; use of this , super Developing methods (using Strings). Read sec. 2.5, stepwise refinement Listen to Plive, 2.5.1–2.5.4. Reading for next lecture: the same Today : Pick up: A3 Today’s slides You can do A3 in groups of 2, BUT GROUP EARLY ON CMS Rsrecah on spleilng Aoccdrnig to a rscheearch at Cmabirgde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is that the frsit and lsat ltteer be at the rghit pclae. The rset can be a total mses and you can sitll raed it wouthit porbelm.Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Office hours are being held
Background image of page 1

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

View Full DocumentRight Arrow Icon
A1 2 A3: Adding functionality to A1 • Keeping class invariant true • Use already-written functions • Boolean expressions • Use of null and testing for it • Use of static variables Due Wednesday, 29 September
Background image of page 2
3 The inside-out rule (see p. 83) Code in a construct can reference any of the names declared or defined in that construct, as well as names that appear in enclosing constructs.
Background image of page 3

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

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

This note was uploaded on 11/27/2010 for the course CS 9339 at Cornell University (Engineering School).

Page1 / 10

Lecture 07-Inside-Out, Super-This - CS1110 21 Sept 2010...

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

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