This course has already ended.
You cannot submit this assignment

You need to sign in and enrol to submit exercises.

Assignment 10

1 point

Values of the Double are objects just as Ints are. Try calling the parameterless methods floor, ceil, and round on Doubles. Which of the following claims are correct? Select all that apply.

2 points

Assuming we have a collection (such as a vector or buffer) and a variable x that refers to the collection, which of the following claims are correct? Select all that apply.

The claims concern the method to, which was introduced above, and its close relative until.

Experiment in the REPL to find out the answers. When to or until gives you a Range object, you can call the range’s toVector method to copy the contents into a vector.

Posting submission...

Earned points

0 / 3

Exercise info

Assignment category
Graded
Your submissions
0 / 5
Deadline
Wednesday, 11 October 2023, 18:00
Late submission deadline
Monday, 15 April 2024, 12:00 (-100%)
Group size
1-2
Total number of submitters
914