Introduction to Java Programming and Data Structures

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

1/19

flashcard set

Earn XP

Description and Tags

These flashcards cover fundamental concepts and methods related to mathematical functions, characters, and strings in Java programming.

Last updated 10:43 PM on 3/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Math class

A class in Java that provides methods for performing common mathematical functions.

2
New cards

Trigonometric Methods

Methods in the Math class that include sin(), cos(), tan(), and their inverses.

3
New cards

Exponent Methods

Methods in the Math class that include exp() for e^x, log() for natural logarithm, and pow() for exponentiation.

4
New cards

Rounding Methods

Methods used to round numbers, including ceil(), floor(), rint(), and round().

5
New cards

ASCII

A character encoding standard for electronic communication that represents text in computers as numbers.

6
New cards

Unicode

A character encoding standard that allows for the representation of text in multiple languages with a wide array of characters.

7
New cards

Escape Sequences

Character sequences that represent certain special characters, such as \n for line feed and \t for tab.

8
New cards

String type

A reference type in Java used to represent a sequence of characters.

9
New cards

instance methods

Methods that require an object instance of a class to be invoked.

10
New cards

Static methods

Methods that can be called on a class itself without needing an instance of the class.

11
New cards

String concatenation

The operation of joining two or more strings together using the + operator or concat() method.

12
New cards

indexOf method

A method used to find the index of the first occurrence of a character or substring in a string.

13
New cards

substring method

A method that returns a portion of the string based on specified start and end indices.

14
New cards

printf method

A method used to format output according to specified format specifiers.

15
New cards

text blocks

A feature that allows for easy creation of multi-line strings in Java.

16
New cards

stripIndent method

A method that removes the maximum common left space from a multi-line string.

17
New cards

trim method

A method that removes white space from both ends of a string.

18
New cards

equals method

A method that compares two strings for equality, taking case into account.

19
New cards

compareTo method

A method that compares two strings lexicographically.

20
New cards

Scanner class

A class in Java used to read input from various sources, such as user input from the console.

Explore top flashcards

flashcards
Microscopic examination CASTS
34
Updated 657d ago
0.0(0)
flashcards
Zoology Exam 1
145
Updated 45d ago
0.0(0)
flashcards
Med Micro Case Studies
76
Updated 1196d ago
0.0(0)
flashcards
Y2 U1L1 Vamos a acampar
55
Updated 915d ago
0.0(0)
flashcards
Modern World History Midterm
51
Updated 205d ago
0.0(0)
flashcards
World History Exam
232
Updated 1033d ago
0.0(0)
flashcards
Concept of Globalization
22
Updated 1141d ago
0.0(0)
flashcards
Microscopic examination CASTS
34
Updated 657d ago
0.0(0)
flashcards
Zoology Exam 1
145
Updated 45d ago
0.0(0)
flashcards
Med Micro Case Studies
76
Updated 1196d ago
0.0(0)
flashcards
Y2 U1L1 Vamos a acampar
55
Updated 915d ago
0.0(0)
flashcards
Modern World History Midterm
51
Updated 205d ago
0.0(0)
flashcards
World History Exam
232
Updated 1033d ago
0.0(0)
flashcards
Concept of Globalization
22
Updated 1141d ago
0.0(0)