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
HELP 100 points
natima [27]

Answer:

i do not know what to do there.

Explanation:

there's no pictures

5 0
2 years ago
How do governments correct for negative externalities?
tia_tia [17]

Answer:

C. They can impose fines for the damage or ensure that businesses do not cause such damage in the first place.

Explanation:

6 0
3 years ago
Why OSI is called open system?
MAXImum [283]

Answer: OSI system is called Open System Interconnection because It provides the collection of protocols for the connection of different system to connect with  any dependence on any other system or network.

Explanation: Open system interconnection establishes a connection between the different system for the communication purpose using several protocols and software standards .It has no dependency or any network or other system to do the functioning and works using the seven layers of the OSI architecture.Thus, that is why OSI system known as open system.

7 0
4 years ago
You are the senior nurse on the unit and you are orienting a new graduate LVN/LPN. One of the subjects you want to cover today i
dem82 [27]

Answer:

The correct answer to the following question will be Option D (Homans sign).

Explanation:

To medicine, the symptom of Homans is considered a sign of thrombosis by some physicians. John Homans described Homans as an annoyance under the knee of the foot to 1941 after forced dorsification.

  • Inspect the limbs for edema, pulse equality, and capillary refill.
  • Check to sign Homans.
  • Feel any warmth or redness along the Calf area.
  • Bilateral calves should be equal in size and warmth.
  • There must be no swollen, sore places, and when the woman is moving, there will be no pain in the calves.

Therefore, Option D is the right answer.

4 0
3 years ago
Use a dictionary to count the frequency of letters in the input string. Only letters should be counted, not blank spaces, number
netineya [11]

Answer:

def count_letters(text):

 result = {}

 # Go through each letter in the text

 convert_text = text.lower()

 for letter in convert_text:

   if letter.isalpha():

     if letter in result:

       result[letter] += 1

     else:

       result[letter] = 1

 return result

print(count_letters("AaBbCc"))

# Should be {'a': 2, 'b': 2, 'c': 2}

print(count_letters("Math is fun! 2+2=4"))

# Should be {'m': 1, 'a': 1, 't': 1, 'h': 1, 'i': 1, 's': 1, 'f': 1, 'u': 1, 'n': 1}

print(count_letters("This is a sentence."))

# Should be {'t': 2, 'h': 1, 'i': 2, 's': 3, 'a': 1, 'e': 3, 'n': 2, 'c': 1}

Explanation:

4 0
3 years ago
Other questions:
  • When your tire blows out in the middle of a drive, you should _____. A. let go of the steering wheel B. pump the brakes immediat
    13·2 answers
  • There are two different perspectives in terms of how programs are delivered for different ethnic groups. If an agency offers dif
    14·1 answer
  • What are some options available in the Spelling and Grammar Checker in word?
    6·1 answer
  • Any part of the computer that you plug into the CPU like a phone, tablet, headphones etc. are called
    5·1 answer
  • Which is a good guideline to follow for adding animation to a presentation?
    12·1 answer
  • /*
    8·1 answer
  • Which of these are variables in an organization? Choose three.
    9·1 answer
  • 5 advantages in relation to virtual education in times of pandemic.
    10·1 answer
  • someone please do this for and send a screeshot or picture please its really important for my examsss :D​
    9·1 answer
  • Open a Python interpreter. Python can show you the set of currently known names if you type dir(). While these values may vary f
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!