Which of the following methods is not in the Math class? ( )
A: abs
B: parseInt
C: ceil
D: log
A: abs
B: parseInt
C: ceil
D: log
举一反三
- Which of the following is the order of applying object-oriented concept in programming A: instance creating — class defining — use attributes or methods through the instance B: class defining — instance creating — use attributes or methods through the instance C: instance creating — use attributes or methods through the instance — class defining D: class defining — use attributes or methods through the instance —instance creating
- math库中能实现求平方根的函数是: A: abs B: gcd C: sqrt D: log
- Math对象的( )方法返回 0 ~ 1 之间的随机数。 A: abs(x) B: ceil(x) C: andom() D: ound(x)
- Math对象的( )方法是返回 e 的x次方? A: abs(x) B: ceil(x) C: cos(x) D: exp(x)
- Math对象的( )方法是对数值x进行上舍入。 A: abs(x) B: cos(x) C: ceil(x) D: exp(x)