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, 23.06.2019 09:00
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Which sentences describe the things you need to ensure while creating a sketch and a drawing? while an artistic or creative drawing is a creative expression, a technical drawing is an informative expression. you need to create accurate and neat drawings to convey accurate information. a technical drawing clearly conveys its meaning or information, and does not leave room for interpretation maintain a good speed while creating drawings
Answers: 1
question
Computers and Technology, 24.06.2019 15:50
Andy would like to create a bulleted list. how should he do this? andy should click on the bullet icon or select the bullet option from the menu and then type the list. andy should press the shift key and the 8 key at the beginning of each line of text. andy should type the text and then click on the bullet command. andy should press return and the bullets will automatically
Answers: 2
question
Computers and Technology, 24.06.2019 19:00
Luis is cloud-based( microsoft bot framework). true false
Answers: 1
You know the right answer?
Create a word document or text file named part3 that contains answers to the following:

Questions
question
Mathematics, 13.08.2019 00:20
question
Mathematics, 13.08.2019 00:20
question
Social Studies, 13.08.2019 00:20
Questions on the website: 13722367