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


aruss1303

  • Member
  • Posts: 314
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

The average human gut is home to perhaps 500 to 1,000 different species of bacteria.

Did you know?

Barbituric acid, the base material of barbiturates, was first synthesized in 1863 by Adolph von Bayer. His company later went on to synthesize aspirin for the first time, and Bayer aspirin is still a popular brand today.

Did you know?

Signs of depression include feeling sad most of the time for 2 weeks or longer; loss of interest in things normally enjoyed; lack of energy; sleep and appetite disturbances; weight changes; feelings of hopelessness, helplessness, or worthlessness; an inability to make decisions; and thoughts of death and suicide.

Did you know?

Common abbreviations that cause medication errors include U (unit), mg (milligram), QD (every day), SC (subcutaneous), TIW (three times per week), D/C (discharge or discontinue), HS (at bedtime or "hours of sleep"), cc (cubic centimeters), and AU (each ear).

Did you know?

Nearly all drugs pass into human breast milk. How often a drug is taken influences the amount of drug that will pass into the milk. Medications taken 30 to 60 minutes before breastfeeding are likely to be at peak blood levels when the baby is nursing.

For a complete list of videos, visit our video library