Docsity

Simple Objects, Lecture Notes - Computer Science, Study notes of Introduction to Computers

Partial preview of the text

Download Simple Objects, Lecture Notes - Computer Science and more Study notes Introduction to Computers in PDF only on Docsity!

Lesson: Simple Objects The 3 questions you should always ask yourself whenever you call a method: 1. Where is it? 2. What does it take in? 3. What does it return? For example, the isDark method: 1. is in SlowPlot (and FastPlot) 2. takes in 2 ints (a row and a column) 3. returns a boolean lof 12