ITI 1121 Lecture Notes - Lecture 2: Object-Oriented Programming, Sports Game
Document Summary
Lecture 2: object oriented programming, classes and objects. Object oriented programming focuses on designing a program in terms of classes and objects. This is an easy to visualize process compared to other programming methods, making it more concrete. Object oriented programming is effective even when designing large and complex software systems, and so it is extremely useful to know. An important concept is abstraction, which is when the actual implementation of something is ignored and instead individually focused on separate from the rest of the program. In java, abstraction is when the user is provided with functionality of an object but not the implementation details. ie. the user can see what the object does but not how it does it. Objects have: instance variables that are stored in memory and describe the properties and state of the object instance methods that dictate what the object can do/how it responds to manipulation.