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
ad-work [718]
3 years ago
5

Which method will return the first element in an ArrayList employees?

Computers and Technology
1 answer:
Wittaler [7]3 years ago
3 0

Answer:

employees.get(0)

Explanation:

In the programming, the index of ArrayList start from zero.

So, the element start storing in the ArrayList from the zero index.

get() is the function which is used to retrieve or getting the value in the

ArrayList.

The function employees.get(0), it retrieve the element of zero index.

The function employees.get(1), it retrieve the element of first index.

The function employees.first(1), it is wrong calling.

The function employees.get(), it is wrong calling. you have to enter the index value inside the get().

You might be interested in
What is the output for the following code?<br><br> print (5*4+5)
Damm [24]

Answer:

It will just print 5*4+5 .

But you still need to add " ".

8 0
3 years ago
Help helppppppppppppp
SOVA2 [1]
Dont click the link
6 0
3 years ago
True or false?
sashaice [31]
True cars are fast and go fast
6 0
3 years ago
Read 2 more answers
1.Write a program in python to find the sum and average of any 3 input numbers.
klasskru [66]

Answer:

ok then i might if i can be bothered

P(-2,2), Q(4,2), R(2, -6), S(-4,-6P(-2,2), Q(4,2), R(2, -6), S(-4,-6P(-2,2), Q(4,2), R(2, -6), S(-4,-6

4 0
3 years ago
What is the most important difference between generic software product development and custom software development? What might t
Andreyy89

Answer:

In the case of generic software development, the developer has the control of all the decisions while with custom software development, the client is responsible of the decisions about the characteristics of the software.

This means for users of generic software products that they don't have control over the product.

Explanation:

-A generic software development refers to the creation of a product by a software development organization that will own it and sell it to customers. This software is created for the open market and is designed to solve a problem for many customers.

-A custom software development refers to the creation of a product by a software development organization for a client.  This product is created according to the customer's needs and specifications in order to solve a specific problem of the client.

4 0
4 years ago
Other questions:
  • The equation y=2x+1 represents a function true or false
    11·1 answer
  • Which resource do programmers sometimes have to refer to and use during planning the logical steps of the solution?
    10·2 answers
  • And informative subject line is necessary for a good email true or false​
    14·1 answer
  • Write a c++ function, largestnum, that takes as parameters a double array and its size and returns the index of the last occurre
    14·1 answer
  • Find the maximum value and minimum value in below mention code. Assign the maximum value to maxMiles, and the minimum value to m
    11·1 answer
  • In order to "print" the data in an object, the class should override the _____ method.
    9·1 answer
  • Peter wants to protect a confidential document by using a password. He wants to use an asterisk and an ampersand symbol in his p
    10·1 answer
  • Explain the procedure you will undertake to create a new partition​
    11·1 answer
  • Which type of protocol allows for a secure data transmission using encryption methods?
    7·1 answer
  • Which tools do meteorologists use to collect data about the weather?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!