# What is mathfloor36 a 50 b 3 c 30 d 4 1 6 how many

• Test Prep
• 15
• 80% (5) 4 out of 5 people found this document helpful

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 13 - 15 out of 15 pages.

What is Math.floor(3.6)?A. 5.0B. 3C. 3.0D. 4
#16.How many elements are in array double[] list = new double[5]?133/24
##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 83
Applied Calculus
Berresford/Rockett
Expert Verified
A. 5B. 4C. 6D. 0#17.If you declare an array double[] list = {3.4, 2.0, 3.5, 5.5}, list[1] is ________.a.3.4b.2.0c.3.5d.5.5e.undefined#18.In the following code, what is the output for list2?class Test {public static void main(String[] args) {int[] list1 = {1, 2, 3};int[] list2 = {1, 2, 3};list2 = list1;list1[0] = 0; list1[1] = 1; list2[2] = 2;for (int i = 0; i < list2.length; i++)System.out.print(list2[i] + " ");}}a. 1 2 3b. 1 1 1c. 0 1 2d. 0 1 3#19. What is the output of the following code?143/24
double[] myList = {1, 5, 5,4,4, 1};double max = myList[0];int indexOfMax = 0;for (int i = 1; i < myList.length; i++) {if (myList[i] >= max) {max = myList[i];indexOfMax = i;}}System.out.println(indexOfMax);
#20. Suppose a method p has the following heading:public static int[][] p()What return statement may be used in p()?
153/24
End of preview. Want to read all 15 pages?

Course Hero member to access this document

Term
Winter
Professor
N/A
Tags
Array, Subroutine, Return statement, Void type
##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 83
Applied Calculus
Berresford/Rockett
Expert Verified