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 43 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
Great answer, keep it coming :)


ricroger

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

 

Did you know?

About one in five American adults and teenagers have had a genital herpes infection—and most of them don't know it. People with genital herpes have at least twice the risk of becoming infected with HIV if exposed to it than those people who do not have genital herpes.

Did you know?

Approximately 15–25% of recognized pregnancies end in miscarriage. However, many miscarriages often occur before a woman even knows she is pregnant.

Did you know?

Fewer than 10% of babies are born on their exact due dates, 50% are born within 1 week of the due date, and 90% are born within 2 weeks of the date.

Did you know?

Colchicine is a highly poisonous alkaloid originally extracted from a type of saffron plant that is used mainly to treat gout.

Did you know?

The tallest man ever known was Robert Wadlow, an American, who reached the height of 8 feet 11 inches. He died at age 26 years from an infection caused by the immense weight of his body (491 pounds) and the stress on his leg bones and muscles.

For a complete list of videos, visit our video library