Create a for loop to initially set the values of the vector created in number 1 above to the value of negative 1.0.

What will be an ideal response?


```
for(int i=0; i < 49; i++)
v.add(i, new Double(-1.0));
```

Computer Science & Information Technology

You might also like to view...

Each of the following is a relational or equality operator except:

a. <= b. =! c. == d. >

Computer Science & Information Technology

If you declare an array double[] list = {3.4, 2.0, 3.5, 5.5}, list[1] is ________.

a. 3.4 b. 2.0 c. 3.5 d. 5.5 e. undefined

Computer Science & Information Technology

Describe the guidelines for creating a secure password

What will be an ideal response?

Computer Science & Information Technology

A PowerPoint file with an Excel chart embedded in it is an example of a ________

A) source file B) destination application C) destination file D) source application

Computer Science & Information Technology