APCSA Unit 1 Primitive Types

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

1/15

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.

16 Terms

1
New cards

Compiler

Software that translate the Java source code (ends in .java) into the Java class file (ends in .class)

2
New cards

Compile time error

An error that is found during the compilation. These are also called Syntax errors

3
New cards

Main Method

Where execution starts in a java program

4
New cards

Boolean

An expression that is either true or false

5
New cards

Camel Case

One way to create a variable name by appending several words together and upper-casing the first and letter of each word after the first word (myScore)

6
New cards

Casting a variable

Changing the type of a variable using (type) name

7
New cards

Double

a type in java that is used to represent decimal values like -2.5 and 323.203

8
New cards

Declare a variable

Specifying the type and name for a variable. This sets aside memory for a variable that type and associates the name with that memory location

9
New cards

Initializing a variable

The first time you set the value of a variable

10
New cards

Integer

A whole number like -32 or 6323

11
New cards

Modulo

The % operator which returns the remainder from one number divide by another

12
New cards

Operator

Common mathematical symbols such as + for addition and * for multiplication

13
New cards

Shortcut Operators

Operators like x++ which means x = x + 1 or x = y which means x = x y

14
New cards

Variable

A name associated with a memory location in the computer

15
New cards

boolean

16
New cards

Static

means that the field or method exists in the object that defines the class