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

Author Question: Assume int[][][] x = new char[2][5][3], how many elements are in the array? (Read 48 times)

burchfield96

  • Hero Member
  • *****
  • Posts: 610

Question 1

Assume char[][][] x = new char[14][5][16], what are x.length, x[2].length, and x[0][0].length?
◦ 13, 5, and 16
◦ 12, 5, and 15
◦ 13, 5, and 15
◦ 14, 5, and 16

Question 2

Assume int[][][] x = new char[2][5][3], how many elements are in the array?
◦ 30
◦ 45
◦ 40
◦ 35


Related Topics

Need homework help now?

Ask unlimited questions for free

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

nicoleclaire22

  • Sr. Member
  • ****
  • Posts: 318
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 25% of students answer this correctly




burchfield96

  • Member
  • Posts: 610
Reply 2 on: May 6, 2020
Great answer, keep it coming :)


T4T

  • Member
  • Posts: 348
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Most fungi that pathogenically affect humans live in soil. If a person is not healthy, has an open wound, or is immunocompromised, a fungal infection can be very aggressive.

Did you know?

The term bacteria was devised in the 19th century by German biologist Ferdinand Cohn. He based it on the Greek word "bakterion" meaning a small rod or staff. Cohn is considered to be the father of modern bacteriology.

Did you know?

The first oral chemotherapy drug for colon cancer was approved by FDA in 2001.

Did you know?

Though newer “smart” infusion pumps are increasingly becoming more sophisticated, they cannot prevent all programming and administration errors. Health care professionals that use smart infusion pumps must still practice the rights of medication administration and have other professionals double-check all high-risk infusions.

Did you know?

There used to be a metric calendar, as well as metric clocks. The metric calendar, or "French Republican Calendar" divided the year into 12 months, but each month was divided into three 10-day weeks. Each day had 10 decimal hours. Each hour had 100 decimal minutes. Due to lack of popularity, the metric clocks and calendars were ended in 1795, three years after they had been first marketed.

For a complete list of videos, visit our video library