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

Author Question: To initialize a String array names to store the three Strings "Huey", "Duey" and "Louie", you would do (Read 49 times)

panfilo

  • Hero Member
  • *****
  • Posts: 572

Question 1

To declare a three-dimensional int array called threeD, which of the following would you use?
◦ int[3] threeD;
◦ int[  ,  ,  ] threeD;
◦ int[ ][ ][ ] threeD;
◦ int [ [ [ ]]] threeD;
◦ int[ ] threeD[3];

Question 2

To initialize a String array names to store the three Strings "Huey", "Duey" and "Louie", you would do
◦ String names = {"Huey", "Duey", "Louie"};
◦ String[ ] names = {"Huey", "Duey", "Louie"};
◦ String[ ] names = new String{"Huey", "Duey", "Louie"};
◦ String names[3] = {"Huey", "Duey", "Louie"};
◦ String names;  names[0] = "Huey";  names[1] = "Duey";  names[2] = "Louie";


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by panfilo on Aug 30, 2020

skipfourms123

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




panfilo

  • Member
  • Posts: 572
Reply 2 on: Aug 30, 2020
Great answer, keep it coming :)


mammy1697

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

 

Did you know?

Despite claims by manufacturers, the supplement known as Ginkgo biloba was shown in a study of more than 3,000 participants to be ineffective in reducing development of dementia and Alzheimer’s disease in older people.

Did you know?

The Romans did not use numerals to indicate fractions but instead used words to indicate parts of a whole.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

More than 4.4billion prescriptions were dispensed within the United States in 2016.

For a complete list of videos, visit our video library