IT Specialist- Java Certification

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

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:33 AM on 5/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

33 Terms

1
New cards

getMessage()

This method can be used to retrieve the error message from an exception object

2
New cards

InputMismatchException

In Scanner methods, if the token read doesn't match the expected data type then this exception is thrown.

3
New cards

IOException

A type of Run-time error or exception that can occur while performing certain Input or Output operations- usually when there is a problem with the file

4
New cards

getStackTrace

Returns an array of stack trace elements

5
New cards

primitive data types

pre-defined java information ( int, boolean, double, char, float, long, byte, etc.)

6
New cards

Wrapper class

Converts primitive data types into objects

7
New cards

"Try" block

Used around code being attempted

8
New cards

"Catch" block

Catches exceptions and displays their information

9
New cards

"Finally" block

Always executes; after try and catch blocks

10
New cards

Public

Can be accessed by any class in a block of code

11
New cards

Static

Allows for a method to be called without instantiating the class in which it resides

12
New cards

Protected

Data can be modified or accessed by classes that share the same package or any subclass

13
New cards

Private

only accessible if in same class.

14
New cards

@Override

A Java annotation used to indicate that a method is intended to override an inherited method. - redefining a parent class method in the child class

15
New cards

Byte

-128 to 128

16
New cards

Integer

32 bit; -2.1 billion to 2.1 billion

17
New cards

Long

64 bit whole number

18
New cards

Short

-32,768 to 32,768

19
New cards

isEmpty()

Checks whether its empty; returns true if value is null and false if full

20
New cards

static

MUST ALWAYS be included in main method

21
New cards

Array declarations

names the array and specifies the type of its elements. Ex) String[] name = new String[1];

22
New cards

Araylist

Objects are referenced by index inside parentheses (2)

23
New cards

.add()

Cannot be used by Arrays, must be converted to ArrayList to use

24
New cards

Float precision

Can only be precise to 6 or 7 digits; floats also tend to lose precision in calculations

25
New cards

Strings are:

immutable (cannot be changed)

26
New cards

parseDouble()

converts a string into a double

27
New cards

Nested branch

If statements inside of it statements

28
New cards

A .java file can only...

Have one public, non static class

29
New cards

Static belongs...

To a class, but doesn't belong to an instance of that class (it can be called without the instance of that class)

30
New cards

checked expression

Happen at compilation

31
New cards

Unchecked expressions

Happen at runtime

32
New cards

/**

Start of Javadoc

33
New cards

/*

Start of multi line comment