1 / 1

Mar 12th, Thursday

Mar 12th, Thursday. WIC-3min – why do I care about the palindrome word? Classes & Objects so far R epresenting information (data) and actions (methods) within a unit (class) How to define a class (attributes & methods; private/public) How to create instances

ryder
Download Presentation

Mar 12th, Thursday

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mar 12th, Thursday • WIC-3min – why do I care about the palindrome word? • Classes & Objects so far • Representing information (data) and actions (methods) within a unit (class) • How to define a class (attributes & methods; private/public) • How to create instances • Encapsulation: objects are encapsulated and hide the details of their inner workings from the client code (just like functions). Communication through the class’ methods (interface) • Multiple classes • Critter program • Transformation of is word program • Debugging • My program just freezes (I do not know what to do with it) • PLTL-exercise: Test me • (http://www.cs101.org/ipij/design) • http://www.cs.wustl.edu/~kjg/CS101_SP97/Notes/Debugging/debugging.html

More Related