CSA Unit 3 Terms

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Parameter

1 / 22

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

23 Terms

1

Parameter

Any of a set of characteristics that distinguish different members of a family of tasks. Parameterizing a task means identifying a set of its parameters.

New cards
2

Formal Parameter

A variable that appears inside parentheses in the header of a method that is used to generalize the method's behavior.

New cards
3

Actual Parameter

A specific value or expression that appears inside parentheses in a method call.

<p>A specific value or expression that appears inside parentheses in a method call.</p>
New cards
4

Method Signature

The name of a method, along with its number and type of parameters.

<p>The name of a method, along with its number and type of parameters.</p>
New cards
5

Return

To send a value out as the result of a method that can be used in an expression in your program. Void methods do not return any value.

<p>To send a value out as the result of a method that can be used in an expression in your program. Void methods do not return any value.</p>
New cards
6

Object

A programming entity that contains state (data) and behavior (methods).

New cards
7

Class

A category or type of object.

New cards
8

Index

An integer used to specify a location in a sequence of values. Java generally uses zero-based indexing (with 0 as the first index value, followed by 1, 2, 3, and so on).

New cards
9

Exception

A runtime error that prevents a program from continuing its normal execution.

<p>A runtime error that prevents a program from continuing its normal execution.</p>
New cards
10

Immutable Object

An object whose value cannot be changed.

New cards
11

charAt(index)

Character at a specific index.

New cards
12

endsWith(text)

Whether or not the string ends with some text.

New cards
13

indexOf(text)

Index of a particular character or String (-1 if not present).

New cards
14

substring(start, stop)

Characters from start index to just before stop index.

New cards
15

Console Input Responses

Typed by the user when an interactive program pauses for input.

New cards
16

Constructor

A method that creates and initializes an object. Objects in Java programs must be constructed before they can be used.

New cards
17

next()

Reads and returns the next token as a String.

New cards
18

Token

A single element of input (e.g., one word, one number).

New cards
19

Whitespace

Spaces, tab characters, and new line characters.

New cards
20

Package

A collection of related Java classes.

New cards
21

Import Declaration

A request to access a specific Java package.

New cards
22

Declaring New Scanner:

Scanner console = new Scanner (System.in);

New cards
23

Method Overloading

The ability to define two or more different methods with the same name but different method signatures.

<p>The ability to define two or more different methods with the same name but different method signatures.</p>
New cards

Explore top notes

note Note
studied byStudied by 17 people
... ago
5.0(2)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 14 people
... ago
4.0(1)
note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (25)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (145)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (95)
studied byStudied by 37 people
... ago
5.0(1)
flashcards Flashcard (110)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (80)
studied byStudied by 63 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 38 people
... ago
5.0(2)
flashcards Flashcard (43)
studied byStudied by 83 people
... ago
4.0(1)
flashcards Flashcard (24)
studied byStudied by 15 people
... ago
5.0(1)
robot