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 53 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
:D TYSM


juliaf

  • Member
  • Posts: 344
Reply 3 on: Yesterday
Thanks for the timely response, appreciate it

 

Did you know?

Patients should never assume they are being given the appropriate drugs. They should make sure they know which drugs are being prescribed, and always double-check that the drugs received match the prescription.

Did you know?

Famous people who died from poisoning or drug overdose include, Adolf Hitler, Socrates, Juan Ponce de Leon, Marilyn Monroe, Judy Garland, and John Belushi.

Did you know?

The types of cancer that alpha interferons are used to treat include hairy cell leukemia, melanoma, follicular non-Hodgkin's lymphoma, and AIDS-related Kaposi's sarcoma.

Did you know?

More than 20 million Americans cite use of marijuana within the past 30 days, according to the National Survey on Drug Use and Health (NSDUH). More than 8 million admit to using it almost every day.

Did you know?

The lipid bilayer is made of phospholipids. They are arranged in a double layer because one of their ends is attracted to water while the other is repelled by water.

For a complete list of videos, visit our video library