java basics

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:51 AM on 3/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

double

always a decimal (can store twice the amount of information that a int can store)

2
New cards

source code

human written code

3
New cards

byte code

java translated source code

4
New cards

machine code

low level code translated by interpreter

5
New cards

logic error

sometimes program does run, but with the wrong result; failure on human coder’s part (ex: 10.0/3 brings back 3.3…5. that is wrong)

6
New cards

syntax/compiler error

misspellings, no ;, failure to comply by java’s rules

7
New cards

runtime/exception error

dividing by 0

8
New cards

naming conventions

can: uppercase, lowercase, numbers, _, $

cannot: start with number, start with an unauthorized symbol, end with an unauthorized symbol

9
New cards

\\

\

10
New cards

\n

new line

11
New cards

\”

12
New cards

\t

tab

13
New cards

System.out.println

prints a line than skips to the next line

14
New cards

System.out.print

prints a line only

15
New cards

int

can store an integer (no decimals/doubles)

16
New cards

int/int

always integer

17
New cards

double/double

always double

18
New cards

modular (%) division

brings back remainder/cannot divide by 0 on left or right side

19
New cards

ide

integrated developmental environment

20
New cards

compiler

compiles source code into byte code

21
New cards

interpreter

translates byte code into machine code

22
New cards

editor

where the source code is written

23
New cards

/*

multiline comment

24
New cards

System.out.println(10+5×6" + “string” + 6×6+2);

40string362

25
New cards

int x = 9;

int y = 10;

double z = (double) 9 + 10;

System.out.println(z);

19.0

26
New cards

final int x;

final int x=9;

System.out.println(x);

9

27
New cards

source code extension

.java

28
New cards

byte code extension

.class

29
New cards

boolean x = 2+2==4;

boolean y = 6-2==1;

System.out.println(x);

System.out.println(y);

true

false

Explore top notes

note
Uranus, Neptune, Pluto, and Beyond
Updated 1168d ago
0.0(0)
note
Ch 18 - Fiscal Policy
Updated 1080d ago
0.0(0)
note
Animal Kingdom - Chordata
Updated 1231d ago
0.0(0)
note
Chem study By Mexican Guy
Updated 567d ago
0.0(0)
note
Chapter 9: Visualizing Cells
Updated 990d ago
0.0(0)
note
The globalized world
Updated 1364d ago
0.0(0)
note
Uranus, Neptune, Pluto, and Beyond
Updated 1168d ago
0.0(0)
note
Ch 18 - Fiscal Policy
Updated 1080d ago
0.0(0)
note
Animal Kingdom - Chordata
Updated 1231d ago
0.0(0)
note
Chem study By Mexican Guy
Updated 567d ago
0.0(0)
note
Chapter 9: Visualizing Cells
Updated 990d ago
0.0(0)
note
The globalized world
Updated 1364d ago
0.0(0)

Explore top flashcards

flashcards
pathology final
232
Updated 182d ago
0.0(0)
flashcards
FCW 2
36
Updated 1207d ago
0.0(0)
flashcards
Week 2 vocabulary development
107
Updated 1099d ago
0.0(0)
flashcards
Miracles
22
Updated 11d ago
0.0(0)
flashcards
pathology final
232
Updated 182d ago
0.0(0)
flashcards
FCW 2
36
Updated 1207d ago
0.0(0)
flashcards
Week 2 vocabulary development
107
Updated 1099d ago
0.0(0)
flashcards
Miracles
22
Updated 11d ago
0.0(0)