aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Basics of Java
  • To which class does the method to UpperCase() belong?
Multiple choice

To which class does the method to UpperCase() belong?

  1. String class

  2. Char class

  3. Math class

  4. String buffer class

  5. None of the above

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

The Char class is a wrapper class, which provides following methods: toUpperCase(),toLowerCase(),isLetter(),isSpace(),isDigit()

Keep practicing — related questions

  • To convert all the characters in a input string from lowercase to uppercase, ____________ method is used in...
  • Which of the following character methods in Java returns true value, when an argument provided with a funct...
  • Which method is used to convert all the characters in a string from uppercase to lowercase?
  • Which of the following character methods in Java returns true value when argument provided with function is...
  • How do you convert the string to upper case?
  • Which of the following methods is used in Java to convert upper case letters to lower case?
  • Which of the following methods is/are defined in the String class for comparing the Strings?
  • Which of the following methods are defined in the String class for comparing the Strings?
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