subject

Create a word document or text file named part3 that contains answers to the following:

1. consider the declaration in sumallarr. java: int[] arr1 = new int[max + 1];
a. how many array elements does this statement create?
b. why do we have max + 1?
c. can we just use max and have the program still work correctly?

2. before the while-loop in sumallarr. java we have i = 1.
a. why is it there?
b. can we use another variable instead?

3. the do-while loop in sumallarr. java is implemented using (++i < = max).
a. provide an alternative expression that implements the same logic.
b. what will (i++ < = max) result in?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Type the correct answer in the box. spell all words correctly. under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 3
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
question
Computers and Technology, 24.06.2019 17:00
Carlos, an algebra teacher, is creating a series of powerpoint presentations to use during class lectures. after writing, formatting, and stylizing the first presentation, he would like to begin writing the next presentation. he plans to insert all-new content, but he wants to have the same formatting and style as in the first one. what would be the most efficient way for carlos to begin creating the new presentation? going under the file tab and opening the first presentation, deleting all content from each page, and adding new content going under the file tab and clicking on new in the left pane, then choosing new from existing going under the design tab and clicking on themes, then selecting the theme that was used for the first template going under the design tab and opening the template that was created for the first presentation
Answers: 2
You know the right answer?
Create a word document or text file named part3 that contains answers to the following:

Questions
question
Social Studies, 05.05.2021 14:00
question
Mathematics, 05.05.2021 14:00
question
History, 05.05.2021 14:00
question
Mathematics, 05.05.2021 14:00
question
Mathematics, 05.05.2021 14:00
Questions on the website: 13722361