Unit 1 Flashcards
Object-Oriented Programming
software engineer
A person who designs, develops, and tests software for home, school, and business use
class header
consists of the class keyword and the name of the class
source code
a collection of programming commands
syntax
The rules for how a programmer must write code for a computer to understand
comment
a text note that is ignored by the compiler to explain or annotate the code
class
A programmer-defined blueprint from which objects are created
object
an instance of a class
syntax error
a mistake in the code that does not follow a programming language’s syntax
object-oriented programming
an approach to creating and using models of physical or imaged objects
attribute
a characteristic of an object
constructor
A block of code that has the same name as the class and tells the computer how to create a new object
method
a named set of instructions to perform a task
instantiate
to call the constructor to create an object
behavior
an action that an object can perform
parameter
Defines the type of value to receive when a method or constructor is called
dot operator
used to call a method in a class
argument
The specific value provided when a method or constructor is called