1/16
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Object-Oriented Programming
An approach to creating and using models of physical or imagined objects.
Class
A programmer-defined blueprint from which objects are created.
Object
An instance of a class.
Attribute
The characteristics of an object.
Behavior
The actions
Instantiate
To call the constructor to create an object. ();
Method
A named set of instructions to perform a task.
Constructor
A special method that has the same name as a class and doesn’t have a return type.
Parameter
Defines the type of value to receive when a method or constructor is called. (“red”)
Argument
The specific value provided when a method or constructor is called.
String Literal
A sequence of characters enclosed in quotation marks.
Source Code
The code from which the computer follows.
Syntax
The rules for how a programmer must write code for a computer to understand.
Class Header
The class keyword and the name of the class.
Comment
A text note to explain or annotate the code and is ignored when the program is run.
Syntax Error
A mistake in the code that doesn’t follow a programming language’s syntax.
State the main method.
public static void main(String[] args )