6 years ago in Java Classes And Methods

Which of these method of String class is used to obtain character at specified index?

[A] char()
[B] Charat()
[C] charat()
[D] charAt()
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 95
Correct 45
Incorrect 19
Viewed 31

Answers

Guest
Guest
Nikhil Jain
Nikhil Jain - 4 years ago

Nikhil Jain from Pune, India is saying Charat() is correct answer

Enas Adel
Enas Adel - 4 years ago

Enas Adel from Giza, Egypt is saying char() is correct answer

Mina Atef
Mina Atef - 4 years ago

Mina Atef from Cairo, Egypt is saying charAt() is correct answer

Kuheli Mitra
Kuheli Mitra - 4 years ago

Kuheli Mitra from Bangalore, India is saying charAt() is correct answer

Ahmed Ashfaqh
Ahmed Ashfaqh - 4 years ago

Ahmed Ashfaqh from Mississauga, Canada is saying charAt() is correct answer

Related Questions

Which method can be defined only once in a program?

  • [A] main method
  • [B] finalize method
  • [C] static method
  • [D] private method

Which of these keywords cannot be used for a class which has been declared final?

  • [A] abstract
  • [B] extends
  • [C] abstract and extends
  • [D] None of the mentioned

String in Java is a?

  • [A] class
  • [B] object
  • [C] variable
  • [D] character array