APCOMPSCI: Unit 1 Lesson 1 - 6

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Object-Oriented Programming

An approach to creating and using models of physical or imagined objects.

2
New cards

Class

A programmer-defined blueprint from which objects are created.

3
New cards

Object

An instance of a class.

4
New cards

Attribute

The characteristics of an object.

5
New cards

Behavior

The actions

6
New cards

Instantiate

To call the constructor to create an object. ();

7
New cards

Method

A named set of instructions to perform a task.

8
New cards

Constructor

A special method that has the same name as a class and doesn’t have a return type.

9
New cards

Parameter

Defines the type of value to receive when a method or constructor is called. (“red”)

10
New cards

Argument

The specific value provided when a method or constructor is called.

11
New cards

String Literal

A sequence of characters enclosed in quotation marks.

12
New cards

Source Code

The code from which the computer follows.

13
New cards

Syntax

The rules for how a programmer must write code for a computer to understand.

14
New cards

Class Header

The class keyword and the name of the class.

15
New cards

Comment

A text note to explain or annotate the code and is ignored when the program is run.

16
New cards

Syntax Error

A mistake in the code that doesn’t follow a programming language’s syntax.

17
New cards

State the main method.

public static void main(String[] args )