code Flashcards
1
Q
math.pow?
A
double result = math.pow(base,exponent) 2^3=8 2.2.2
2
Q
math.max?
A
the highest #
3
Q
math.abs?
A
absolute value -10=10
4
Q
j to g ?
A
jump a1 b2 c3 …
5
Q
indicate new comment?
A
//
6
Q
non-static method
A
A non-static method in Java is an object-specific method that can access its properties and methods, declared with public or private access modifiers.
7
Q
substring?
A
(2,3) dont want the first one do want the last one
8
Q
what is static method?
A
A static method is a method within a class, allowing it to be called without creating an instance, and is commonly used for utility purposes like data conversion or mathematical operations.