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
Galina-37 [17]
3 years ago
10

How would you add the double 75.6 to the end of an ArrayList of Doubles named myDoubles?

Computers and Technology
1 answer:
eduard3 years ago
6 0

Answer:

myDoubles.add(75.6);

Explanation:

ArrayList<Double> myDoubles = new ArrayList<Double>();

myDoubles.add(10.8);

myDoubles.add(92.46);

myDoubles.add(75.6);

The above code creates a double ArrayList called myDoubles. We add 10.8 and 92.46 initially. After these numbers, 75.6 is added to the myDoubles using <em>add</em> method (You need to type the list name, ".", and the method name to add the number)

You might be interested in
Write a (java) program with a class called Sum1, using a while loop to add 10 numbers entered from the key-board.
Ainat [17]

This is a java program with a class called Sum1.

Explanation:

While loop is used to add 10 number.

import java.util.Scanner;

public class Sum 1

{

   public static void main(String args[])

   {

       int number, count, sum = 0;

       Scanner s = new Scanner(System.in);

       System.out.print("Enter the number:");

       number = s.nextInt();

       while(number > 0)

       {

           count = number % 10;

           sum = sum + n;

           number = number / 10;

       }

       System.out.println("Sum of Digits:"+sum);

   }

}

5 0
3 years ago
Kiara is using her software's graphic formats to create a line graph. As she
Ad libitum [116K]

Correct the data she entered , and the software will adjust the graph -apex

5 0
3 years ago
Read 2 more answers
What are Mauchly and Eckert’s main contribution to the development of the computer?
velikii [3]

Answer:

Though the ENIAC patent was invalidated by the U.S. District Court in Minnesota, Eckert and Mauchly have nonetheless been credited by history with inventing the ENIAC, the world's first large-scale general purpose electronic computer

Explanation:

7 0
3 years ago
Linela Insurance needs to hire twenty accountants immediately to support its accounts receivable process. The hiring and trainin
sukhopar [10]

Answer:

Outsourcing

Explanation:

Outsourcing is a business practice to use third party companies outside business to complete task which were previously done by in-house teams.

Outsourcing is a good cost cutting technique while not compromising very much on the services provided by the business.

There are many pros and cons associated with this technique

Following are some pros

  1. Outsourcing some work increase the efficiency of in house team as they have less work load and they can better focus on their work
  2. Outsourcing work significantly cuts the cost with access to more skilled expertise.
  3. Outsourcing let's you better risk manage. As risk management is shared between both the companies.

Following are some cons

  1. Biggest con of outsourcing is loss of control.When you give your product to a third company to do it for you, you loss control of the product.
  2. With less involvement of the owning business innovation process may see slow growth in out sourced projects
3 0
3 years ago
You are writing a report about a trip you made to several cities last month. Which of the following paragraph styles would be th
AlekseyPX
I would say B would be the best answer choice out of the given choices
4 0
3 years ago
Other questions:
  • In the ____________________ technique, the virus is divided into several parts and the parts are placed at random positions thro
    7·1 answer
  • An employee who interacts with customers regarding the nature of their car problems, rather than actually working on the vehicle
    12·2 answers
  • Compare the current in two lightbulbs wired in a series circuit
    11·1 answer
  • Hello, please help write code in C++. Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go nort
    12·1 answer
  • Omar wants to know how his organization has been doing financially over the last year. He wants to also compare this information
    5·2 answers
  • JPG is considered a lossy file format. What does this mean?
    15·2 answers
  • In java please
    13·1 answer
  • Pleasee helpppppppppppppppppppppp me!
    7·1 answer
  • please help me to do this computer homework I beg you all please help me to get the answers please its important please ​
    12·1 answer
  • Describe the concept behind a digital signature and explain how it relates to cybersecurity by providing a hypothetical example
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!