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

Author Question: Which of the following statements are correct? (Read 34 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
Thanks for the timely response, appreciate it


nothere

  • Member
  • Posts: 324
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

The most common treatment options for addiction include psychotherapy, support groups, and individual counseling.

Did you know?

Asthma-like symptoms were first recorded about 3,500 years ago in Egypt. The first manuscript specifically written about asthma was in the year 1190, describing a condition characterized by sudden breathlessness. The treatments listed in this manuscript include chicken soup, herbs, and sexual abstinence.

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?

Bacteria have been found alive in a lake buried one half mile under ice in Antarctica.

Did you know?

People with high total cholesterol have about two times the risk for heart disease as people with ideal levels.

For a complete list of videos, visit our video library