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

Author Question: Which of the following is a legal way to declare and instantiate an array of 10 Strings? (Read 40 times)

HudsonKB16

  • Hero Member
  • *****
  • Posts: 535

Question 1

Which of the following GUI components operates as a group so that only one of the options can be selected at a time?
◦ JCheckBox
◦ JButton
◦ JRadioButton
◦ JButtonGroup
◦ all of these

Question 2

Which of the following is a legal way to declare and instantiate an array of 10 Strings?
◦ String s = new String(10);
◦ String[10] s = new String;
◦ String[ ] s = new String[10];
◦ String s = new String[10];
◦ String[ ] s = new String;


Related Topics

Need homework help now?

Ask unlimited questions for free

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

chevyboi1976

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




HudsonKB16

  • Member
  • Posts: 535
Reply 2 on: Aug 30, 2020
Thanks for the timely response, appreciate it


carlsona147

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

 

Did you know?

According to the American College of Allergy, Asthma & Immunology, more than 50 million Americans have some kind of food allergy. Food allergies affect between 4 and 6% of children, and 4% of adults, according to the CDC. The most common food allergies include shellfish, peanuts, walnuts, fish, eggs, milk, and soy.

Did you know?

Illness; diuretics; laxative abuse; hot weather; exercise; sweating; caffeine; alcoholic beverages; starvation diets; inadequate carbohydrate consumption; and diets high in protein, salt, or fiber can cause people to become dehydrated.

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?

Asthma occurs in one in 11 children and in one in 12 adults. African Americans and Latinos have a higher risk for developing asthma than other groups.

Did you know?

Eat fiber! A diet high in fiber can help lower cholesterol levels by as much as 10%.

For a complete list of videos, visit our video library