0
Do I need to create the math class before using it?
4 ответов
0
I believe
abs, ceil, floor, max, min, pow, sqrt
all exist already in the Java library from what I understand anyway...also, not sure about Math.random() but I think that's in there too. So I'm confident the answer is no :P
0
no you do not need to create math class, it is already defined in java
0
No
0
You can open any java class and see what methods are defined in it, in terminal or command prompt run command like 'javap java.lang.Object' for object class or 'java.lang.Math' for Math class, etc