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

Author Question: Which of the following statements are correct? (Read 26 times)

haleyc112

  • Hero Member
  • *****
  • Posts: 600
Which of the following statements are correct?
◦ When you create an array using new int[10], an array object is created with no values in the array.
◦ When you create an ArrayList using new ArrayList(), an ArrayList object is created with no elements in the ArrayList object.
◦ When you create an array using ArrayList x = new ArrayList(10), x.size() is 10.
◦ When you create an array using new int[10], an array object is created with ten integers of value 0.
◦ When you create an array using int[] x = new int[10], x.length() is 10.


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by haleyc112 on May 6, 2020

cclemon1

  • Sr. Member
  • ****
  • Posts: 312
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




haleyc112

  • Member
  • Posts: 600
Reply 2 on: May 6, 2020
Wow, this really help


kthug

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

 

Did you know?

The use of salicylates dates back 2,500 years to Hippocrates’s recommendation of willow bark (from which a salicylate is derived) as an aid to the pains of childbirth. However, overdosage of salicylates can harm body fluids, electrolytes, the CNS, the GI tract, the ears, the lungs, the blood, the liver, and the kidneys and cause coma or death.

Did you know?

The training of an anesthesiologist typically requires four years of college, 4 years of medical school, 1 year of internship, and 3 years of residency.

Did you know?

Amoebae are the simplest type of protozoans, and are characterized by a feeding and dividing trophozoite stage that moves by temporary extensions called pseudopodia or false feet.

Did you know?

Adolescents often feel clumsy during puberty because during this time of development, their hands and feet grow faster than their arms and legs do. The body is therefore out of proportion. One out of five adolescents actually experiences growing pains during this period.

Did you know?

The National Institutes of Health have supported research into acupuncture. This has shown that acupuncture significantly reduced pain associated with osteoarthritis of the knee, when used as a complement to conventional therapies.

For a complete list of videos, visit our video library