3-26 Back to Methods

3-26 Back to Methods - Computer Programming 3/26/08: Going...

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

View Full Document Right Arrow Icon
Computer Programming 3/26/08: Going Back to Methods Object oriented methods versus static methods: Static methods can be called from anywhere Object methods belong to the object Idea of object oriented programming: Does not think of a computer being a whole collection of instructions, but a collection of objects. Difference: Instructions are just a list of things to do. Objects are things (“the real table is the one that our common sense sees”) Thinks of the world the way we see the world before we learn physics. Object Orientation was used because when programming it is easier to organize “Small Talk” first programming using object orientation: Famous because it used a mouse and therefore pointed at things instead of typing in commands Organizing things into objects is very easy for our minds. Just as you forget the physics table, after you leave physics class. We live in the world of objects 99% of the time, and go into physics world when you go into physics class. Java came into being in 1992-93.
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 04/27/2008 for the course CMPT 241 taught by Professor Shields during the Spring '08 term at Simons Rock.

Page1 / 2

3-26 Back to Methods - Computer Programming 3/26/08: Going...

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