aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Advanced Java Programming
  • Which of the following methods is used in string class of...
Multiple choice

Which of the following methods is used in string class of java to extract a single character from a string?

  1. getChars()

  2. charAt()

  3. getBytes()

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This method is used in string class of java to extract a single character from a string.

Keep practicing — related questions

  • Which of the following methods in java is used to extract a single character from a string?
  • Which of the following methods is used to extract a single character from a string?
  • Which of the following methods is used to extract a single character from a string?
  • Which of the following methods in string class of Java is used to extract more than one character at a time?
  • Which of the following functions is used in Java to extract more than one character at a time?
  • Which method converts all the characters in a String object into a character array?
  • Which of the following methods in Java is used to store characters in an array of bytes?
  • Which of the following methods of the String class in Java is used to copy a range of characters from the g...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy