This topic contains a solution. Click here to go to the answer

Author Question: Given the following statement int[] list = new int[10]; (Read 29 times)

LaDunn

  • Hero Member
  • *****
  • Posts: 526

Question 1

Given the following statement

int[] list = new int[10];

list.length has the value ________.
◦ 11
◦ The value depends on how many integers are stored in list.
◦ 9
◦ 10

Question 2

Given the following statement

int[] list = new int[10];

◦ The array variable list contains ten values of type int.
◦ The array variable list contains a memory address that refers to an array of 10 int values.
◦ The array variable list contains a memory address that refers to an array of 9 int values.
◦ The array variable list contains nine values of type int.


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by LaDunn on May 6, 2020

Ksanderson1296

  • Sr. Member
  • ****
  • Posts: 339
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 64% of students answer this correctly




LaDunn

  • Member
  • Posts: 526
Reply 2 on: May 6, 2020
:D TYSM


scottmt

  • Member
  • Posts: 322
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

Eat fiber! A diet high in fiber can help lower cholesterol levels by as much as 10%.

Did you know?

It is believed that humans initially contracted crabs from gorillas about 3 million years ago from either sleeping in gorilla nests or eating the apes.

Did you know?

Walt Disney helped combat malaria by making an animated film in 1943 called The Winged Scourge. This short film starred the seven dwarfs and taught children that mosquitos transmit malaria, which is a very bad disease. It advocated the killing of mosquitos to stop the disease.

Did you know?

Amphetamine poisoning can cause intravascular coagulation, circulatory collapse, rhabdomyolysis, ischemic colitis, acute psychosis, hyperthermia, respiratory distress syndrome, and pericarditis.

Did you know?

The human body's pharmacokinetics are quite varied. Our hair holds onto drugs longer than our urine, blood, or saliva. For example, alcohol can be detected in the hair for up to 90 days after it was consumed. The same is true for marijuana, cocaine, ecstasy, heroin, methamphetamine, and nicotine.

For a complete list of videos, visit our video library