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

Author Question: Which of the following statements are correct? (Read 27 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
YES! Correct, THANKS for helping me on my review


nguyenhoanhat

  • Member
  • Posts: 332
Reply 3 on: Yesterday
Gracias!

 

Did you know?

Liver spots have nothing whatsoever to do with the liver. They are a type of freckles commonly seen in older adults who have been out in the sun without sufficient sunscreen.

Did you know?

Symptoms of kidney problems include a loss of appetite, back pain (which may be sudden and intense), chills, abdominal pain, fluid retention, nausea, the urge to urinate, vomiting, and fever.

Did you know?

Blood in the urine can be a sign of a kidney stone, glomerulonephritis, or other kidney problems.

Did you know?

Acetaminophen (Tylenol) in overdose can seriously damage the liver. It should never be taken by people who use alcohol heavily; it can result in severe liver damage and even a condition requiring a liver transplant.

Did you know?

Always store hazardous household chemicals in their original containers out of reach of children. These include bleach, paint, strippers and products containing turpentine, garden chemicals, oven cleaners, fondue fuels, nail polish, and nail polish remover.

For a complete list of videos, visit our video library