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 51 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 :)


TheNamesImani

  • Member
  • Posts: 334
Reply 3 on: Yesterday
Excellent

 

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?

Persons who overdose with cardiac glycosides have a better chance of overall survival if they can survive the first 24 hours after the overdose.

Did you know?

If you use artificial sweeteners, such as cyclamates, your eyes may be more sensitive to light. Other factors that will make your eyes more sensitive to light include use of antibiotics, oral contraceptives, hypertension medications, diuretics, and antidiabetic medications.

Did you know?

In ancient Rome, many of the richer people in the population had lead-induced gout. The reason for this is unclear. Lead poisoning has also been linked to madness.

Did you know?

Less than one of every three adults with high LDL cholesterol has the condition under control. Only 48.1% with the condition are being treated for it.

For a complete list of videos, visit our video library