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 52 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
Excellent


kishoreddi

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

 

Did you know?

Of the estimated 2 million heroin users in the United States, 600,000–800,000 are considered hardcore addicts. Heroin addiction is considered to be one of the hardest addictions to recover from.

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.

Did you know?

Increased intake of vitamin D has been shown to reduce fractures up to 25% in older people.

Did you know?

The Food and Drug Administration has approved Risperdal, an adult antipsychotic drug, for the symptomatic treatment of irritability in children and adolescents with autism. The approval is the first for the use of a drug to treat behaviors associated with autism in children. These behaviors are included under the general heading of irritability and include aggression, deliberate self-injury, and temper tantrums.

Did you know?

The first successful kidney transplant was performed in 1954 and occurred in Boston. A kidney from an identical twin was transplanted into his dying brother's body and was not rejected because it did not appear foreign to his body.

For a complete list of videos, visit our video library