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]
3 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]3 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
12. When computer professionals take on jobs, they may not enter into relationships with which of the
weeeeeb [17]

Answer:

12 is c. 13 is a .14 is c 15 I don't know sorry

6 0
3 years ago
Which is an example of synchronous communication?
mezya [45]

Answer:

Telephone conversation

Explanation:

Any real time conversations are synchronous.

4 0
3 years ago
Read 2 more answers
Assume:
kobusy [5.1K]

Answer:

?

Explanation:

8 0
3 years ago
Do you watch markiplier?
ki77a [65]

Answer: Yes

Explanation: He is cool

5 0
3 years ago
Read 2 more answers
The following sentence has a mistake.
Alja [10]

Answer:

You would put the cursor after the letter v in vermont and press back space and type a capital V to make it Vermont.

6 0
3 years ago
Other questions:
  • Scientific models can be used for a variety of different purposes. Which of the following statements about scientific models is
    7·2 answers
  • You can tell a cell is the active cell when it has a
    14·2 answers
  • What additional features on your router would you implement if you were setting up a small wired and wireless network
    5·1 answer
  • In a CPMT, a(n) ____ should be a high-level manager with influence and resources that can be used to support the project team, p
    10·1 answer
  • apple and adobe are in disagreement about the use of __________ to create apps for the iphone and ipad?
    10·1 answer
  • 11.The shortcut keys used to center a paragraph are<br />a. CTRL+T<br />b. CTRL+M<br />c. CTRL+SHIFT+T d. CTRL
    7·1 answer
  • Retraining is required at intervals of ___ or less.
    10·1 answer
  • What are the four types of technical drawing?​
    9·1 answer
  • You must configure a certificate authority on your network to use EFS. True or False?
    5·1 answer
  • I am a new linux and unix system user. how do i find out the user and groups names and numeric ids of the current user or any us
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!