Mastering Java Built-In Classes: Methods, Libraries, and Documentation

0.0(0)
Studied by 0 people
0%Unit 1 Mastery
0%Exam Mastery
Build your Mastery score
multiple choiceMultiple Choice
call kaiCall Kai
Supplemental Materials
Card Sorting

1/27

Last updated 8:23 PM on 3/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

28 Terms

1
New cards

Java Class Library

A massive set of pre-written code that comes with the Java programming language.

2
New cards

API

Application Programming Interface; a blueprint for how to use pre-built classes and methods.

3
New cards

Libraries

Collections of related classes in Java.

4
New cards

Packages

Organized collections of libraries in Java.

5
New cards

java.lang

A package that can be used without an explicit import statement.

6
New cards

Single-Line Comments

Comments starting with // for short explanations.

7
New cards

Multi-Line Comments

Comments enclosed by /* and */ used for longer explanations or disabling code.

8
New cards

Javadoc Comments

Comments used to generate external HTML documentation.

9
New cards

Immutability

A property of Strings in Java indicating they cannot be changed after creation.

10
New cards

String Literal

A method to create a String by enclosing characters in double quotes.

11
New cards

New Keyword

A method to create a String by using the new operator.

12
New cards

Length Method

Returns the number of characters in a String.

13
New cards

Substring Method

Returns a part of the String based on provided indices.

14
New cards

IndexOf Method

Returns the index of the first occurrence of a substring.

15
New cards

Equals Method

Checks if two Strings have the exact same characters.

16
New cards

CompareTo Method

Compares two Strings lexicographically.

17
New cards

Math Class

A class in Java that provides basic numeric operations.

18
New cards

Static Methods

Methods that can be called on a class without creating an instance.

19
New cards

Math.abs()

Returns the absolute value of a number.

20
New cards

Math.pow()

Returns a base raised to the power of an exponent.

21
New cards

Math.sqrt()

Returns the square root of a number.

22
New cards

Math.random()

Returns a random number between 0.0 (inclusive) and 1.0 (exclusive).

23
New cards

Random Integer Formula

Calculation method to generate random integers within a specified range.

24
New cards

StringIndexOutOfBoundsException

An error thrown when attempting to access an invalid index in a String.

25
New cards

Integer Division

Division where only the integer part of the quotient is kept.

26
New cards

Escape Sequences

Special characters in Strings that have specific functions.

27
New cards

Concatenation

The process of joining two or more Strings together.

28
New cards

Casting

The conversion of one data type to another in programming.

Explore top notes

note
Tsunamis
Updated 697d ago
0.0(0)
note
The Great Gatsby
Updated 771d ago
0.0(0)
note
26.2 History of Life on Earth
Updated 1797d ago
0.0(0)
note
Cetaceans - Marine Biology
Updated 1780d ago
0.0(0)
note
RIse of Democracy Vocab Pt. 3
Updated 1522d ago
0.0(0)
note
types of dimensions note
Updated 1522d ago
0.0(0)
note
Tsunamis
Updated 697d ago
0.0(0)
note
The Great Gatsby
Updated 771d ago
0.0(0)
note
26.2 History of Life on Earth
Updated 1797d ago
0.0(0)
note
Cetaceans - Marine Biology
Updated 1780d ago
0.0(0)
note
RIse of Democracy Vocab Pt. 3
Updated 1522d ago
0.0(0)
note
types of dimensions note
Updated 1522d ago
0.0(0)

Explore top flashcards

flashcards
faf
40
Updated 980d ago
0.0(0)
flashcards
faf
40
Updated 980d ago
0.0(0)