votoxey431 votoxey431
  • 27-12-2021
  • Computers and Technology
contestada

The second last character in a String str can be accessed by
a) str[-3]
b) str[-2]
c) str[2]
d) str[3]
​

Respuesta :

6385726215
6385726215 6385726215
  • 28-12-2021

Answer:

B.

Explanation:

-1 is the last element in a string. Starting from -1, count backwards and you get your answer.

Answer Link

Otras preguntas

Research contact and non-contact force give 2 examples on each forces
Beginning with the death in Part IIl of Fahrenheit 451, “Burning Bright,” what are five effective figures of speech that contribute to your image of the setting
What are the social benefits of urbanization?
How did the Industrial Revolution affect the women's rights movement?
I really need help will give 35 points if the answer is right?
5. Ordered: Dopamine 4 mcg/kg /min Available: Dopamine 200 mg in 250 mL of normal saline The client weighs 80 kg. How many mL per hour?
Instruction Active The English Bill of Rights That the pretended power of suspending the laws, or the According to this excerpt, how did the English Bill of exe
One theme of this text is that being kind and forgiving to others can have a positive impact on another person's life. What details from the story below support
The way in which we can determine how much one country's money is worth
Jane decided that she would spend the rest of her money on taffy about how many pounds of taffy did jade purchase