Using Automatically Imported, prewritten constants and methods Flashcards
1
Q
- _______- group of similar types of classes, interfaces and subpackages.
A
Java Packages
2
Q
- _______– automatically imported into every program that you write. It contains the fundamental classes that provide the basis of the Java programming language
A
java.lang package
3
Q
contains constants and methods used to perform common mathematical functions.
A
java.lang.Math class
4
Q
– commonly used Math class constant.
A
PI
5
Q
- so any program can access it directly
A
Public
6
Q
- ___ - so it cannot be changed
A
Final
7
Q
- so only one copy exists and you can access it without declaring a Math object
A
Static
8
Q
- __- - so it holds a floating-point value
A
Double
9
Q
- Syntax to use the constant PI:
A
Math.PI
10
Q
– indicated that it can be replaced by any set of characters.
A
Wildcard symbol (*)