1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
iren [92.7K]
4 years ago
9

Arrays enable the representation of a number of similar items (in terms of their datatypes). They represent these items in an or

dered list. Consider the features of arrays and respond to the following: In what programming situations would the use of an array be beneficial? What situations would not warrant the use of an array? Provide an example explaining why? Imagine a programming structure that would deal with these problems. What characteristics should the structure possess? Research the concept of class ArrayList in Java. Describe the advantage of using the ArrayList class over an array. Also discuss in what circumstances you should use one over the other. Please use examples to justify your answers.
Computers and Technology
1 answer:
frutty [35]4 years ago
4 0

Answer:

Check the explanation

Explanation:

When there is a need to initialize a lot of element of same data types,tht time we use arrays.

We have to use array  whenever it involves simple programs and cases,

dx:saving age of 100 childrans of sametype

When all the ele,ents are of different data type,we hould not use arrays,even when we initialize at runtime,we dont need arrays.i.e when size is not fixed

Linked list can be used instead of arrays

ArrayList:It provides methods for creating, searching, manipulating, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.

Advantages:

Readymade properties availaible ,so lot of writing and remembering the code can be avoided.

Provide the reference for other arrays

Helps in faster execution

You might be interested in
What can be used to help diagnose and fix computer hardware problems?
Klio2033 [76]

the answer is D which is system utilities

hope this helps and hope it isn't wrong

8 0
2 years ago
What is the purpose of anti-bullying laws
nasty-shy [4]
The purpose of anti-bullying laws is so that people aren’t getting bullied because when someone gets bullied it could cause them to become depressed and not happy on who they are
6 0
3 years ago
Read 2 more answers
A typeface in which each character has the same width and is often used to display programming code is _
True [87]
The answer is monospace
6 0
4 years ago
Choose the response that best completes the following statement.
slava [35]

Answer:

consider the outcome

Explanation:

7 0
3 years ago
What is the molar mass of AuCI2
andriy [413]

Answer:267.8726

Explanation:

5 0
3 years ago
Other questions:
  • Impaired drivers not only harm themselves but they harm other individuals and affect our _________________.
    15·2 answers
  • A motherboard has four DIMM slots; three slots are gray and the fourth is black. What type of memory is this board designed to u
    6·1 answer
  • Why does Linux make use of tasklets (i.e., software interrupts) instead of executing all interrupt-related activity in the (hard
    11·1 answer
  • 1) ________ tools gather information from sources such as e-mails, text messages, and tweets and make the information instantly
    5·1 answer
  • (15 POINTS) Integrated Circuits Of Made Up Of _____ That Carry The Electrical Current.
    10·1 answer
  • Your co-worker is at a conference in another state. She requests that you
    9·1 answer
  • Kamal plans to offer new, more favorable contracts to business customers who are now receiving a discount and use wireless servi
    7·1 answer
  • What is the purpose of a router
    13·2 answers
  • Assessment
    12·1 answer
  • It is used to show the program and files that are open.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!