ap java unit 1

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

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.

28 Terms

1
New cards

selection statement

a statement that only executes when a condition is true

2
New cards

data type

the format of the data that can be stored in a variable

3
New cards

declaration

giving a name and data type to a variable

4
New cards

variable

a container that stores a value in memory

5
New cards

commit

an operation which saves the latest changes of the code and represents a snapshot of a projec

6
New cards

documentation

written descriptions of the purpose and functionality of code

7
New cards

programming style

a set of guidelines and best practices for formatting program code

8
New cards

inheritance

an object-oriented programming principle where a subclass inherits the attributes and behaviors of a superclass

9
New cards

subclass

a class that extends a superclass and inherits its attributes and behaviors

10
New cards

superclass

a class that can be extended to create subclasses

11
New cards

tester class

the class that contains the main method and from where the program starts runningmethod

12
New cards

signature

consists of a name and parameter list

13
New cards

return

to exit a method and go back to the point in the program that called it with the requested value or information

14
New cards

return type

the value returned before a method completes its execution and exits

15
New cards

void

specifies that a method should not have a return value

16
New cards

algorithm

a finite set of instructions that accomplish a task

17
New cards

condition

determines whether or not to execute a block of code

18
New cards

iteration statement

a control structure that repeatedly executes a block of code

19
New cards

Large Language Model (LLM)

a general purpose form of AI that is trained on a very, very large body of knowledge.

20
New cards

dot operator

used to call a method in a class

21
New cards

method

a named set of instructions to perform a task

22
New cards

procedural abstraction

provides a name for a process and allows a method to be used only knowing what it does, not how it does it

23
New cards

argument

the specific value provided when a method or constructor is called

24
New cards

logic error

occurs when a program behaves in an incorrect or unexpected way

25
New cards

parameter

defines the type of value to receive when a method or constructor is called

26
New cards

string literal

a sequence of characters enclosed in quotation marks ( " " )

27
New cards

constructor

a block of code that has the same name as the class and tells the computer how to create a new object

28
New cards

instantiate

to call the constructor to create an object