Tino APCS

Introduction to Object Oriented Programming (OOP)

Lesson Overview: Before we begin to write actual programs, we need to install a Java editor and introduce a few basic concepts of object-oriented programming, the style of programming you will learn throughout this curriculum guide. The purpose of this lesson is to get your computer set up to run Java programs and to give you an overview of object-oriented programming.

Lesson Vocab
ARGUMENT

Values passed in to a method when it is called.

ATTRIBUTES

a.k.a. fields, attributes are data stored within a class.

BEHAVIORS

Definitions of things a class can do. Alternate term: method.

CLASS

A template or "blueprint", which we can construct a specific type of objects from.

COMPILING

The process of converting Java code into bytecode that the Java interpreter understands.

CONSTRUCTOR

A method with the same name as the class, used during object creation to initialize the starting state of an object.

EDITOR

Software designed for programmers to write code in, almost like a specialized word processor.

INSTANCE

One "existence" of something, such as one person of humanity. In AP CS: one object of a class.

METHOD

Definitions of object behavior, or what an object can "do", defined in the class.

OBJECT

Individual data structures built from classes (e.g. instances of that class.)

OBJECT-ORIENTED PROGRAMMING (OOP)

A programming paradigm centered around representing programs through many different objects, to make them easier to understand and to relate to the real world.

SOURCE CODE

The code that a programmer types into their editor, which the Java compiler converts into bytecode.