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
neonofarm [45]
3 years ago
8

Which of the following does not correctly declare an ArrayList?

Computers and Technology
1 answer:
kotegsom [21]3 years ago
6 0

Answer:

Option b. ArrayList‹Integer› = new ArrayList‹Integer›(10) does not correctly declare an ArrayList.

<u>Explanation</u>:

ArrayList in Java dynamically stores elements in it. It also called as re- sizeable array as it expands  in size when elements are added and decreases when an element is removed from it. This array list class also allows to use duplicate and null values.

The syntax for creating Array list is as follows

ArrayList<Type> obj = new ArrayList<Type>()

Type  specifies the type of ArrayList like Integer, Character, Boolean etc, and obj is the object name. But in the option b ArrayList‹Integer› = new ArrayList‹Integer›(10)  object name is missed and not specified.

You might be interested in
Which of the following occupations uses math concepts to determine if a particular event would occur and the related costs of th
krek1111 [17]

The occupations that utilize math concepts to determine if a particular event would occur and the related costs of the occurrence is Actuary statistician.

This statistician helps in related costs of the occurrence as well as other datas.

<h3>Who is actuary statistician?</h3>

Actuaries are experts that works in insurance industry that wirk on data related to risk as well as statistical probabilities of future occurrences.

Learn more about statistians at;

brainly.com/question/15980493

4 0
3 years ago
A _________ is the broadcast of various types of media over the web.
Dmitry [639]
News Report.
I hope this helps! :)
4 0
4 years ago
Read 2 more answers
hi Let's say you graduate from school and you are unemployed or take a low-paying job. What are your debt repayment options if y
maks197457 [2]

Income-Based Repayment would be one of your repayment options.

IBR is an option similar to Pay As You Earn but offers more flexibility. To qualify for an IBR, your prospective payments must be lower than they would be on the Standard Repayment Plan. You can still sign up for an IBR even if you are still unemployed. These plans are solely based on your income. So if you are unemployed, this translates to zero income. As a result, your monthly payment will be $0

4 0
4 years ago
Read 2 more answers
during zach's second visit of the year, he incurred a $450 bill. Describe how much is paid by Zach and the insurance carrier
icang [17]
Idk just need points
6 0
3 years ago
Haya noticed that college students needed to dress up for presentations but never seemed to have any ties, or at least not very
VashaNatasha [74]

Answer:

I believe it's B

Explanation:

...but is it?

3 0
3 years ago
Other questions:
  • A network admin configures a static route on the edge router of a network to assign a gateway of last resort (the router that co
    9·1 answer
  • . In an if/else statement, the if part executes its statement or block if the expression
    15·1 answer
  • How do you get free Wifi on your phone without paying
    6·1 answer
  • You install a new driver, but your device still doesn't work. What is the first thing you should do?
    14·1 answer
  • Can anyone fill in the space please
    6·1 answer
  • Which of these personal protective equipment items prevents injury from falling objects ?
    15·1 answer
  • WILL GIVE BRAINLIEST
    15·1 answer
  • JQuery uses CSS selectors to select elements?
    5·1 answer
  • What is a zerø-day exploit? No go.ogle &gt;:(
    10·1 answer
  • Which two features could be added to a game using an "if () then " block
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!