What is the value of num after the following statement is performed?

```
num = Math.round( 2.45 );
```

a) 0
b) 2
c) 2.5
d) 3

b) 2

Computer Science & Information Technology

You might also like to view...

Which of the following statements is true?

Constructors: a) initialize instance variables b) when overloaded, can have identical argument lists c) when overloaded, are selected by number and types of parameters d) a and c

Computer Science & Information Technology

What is (are) the consequence(s) if you forget to break your switch?

What will be an ideal response?

Computer Science & Information Technology