aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Programming Test
  • Which method is used for converting a String to lowercase?
Multiple choice

Which method is used for converting a String to lowercase?

  1. lowercase();

  2. LowerCase();

  3. .toLowerCase();

  4. tolowercase();

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

.toLowerCase() converts a string to lowercase.

Keep practicing — related questions

  • Which method is used to convert all the characters in a string from uppercase to lowercase?
  • Which of the following methods is used in Java to convert upper case letters to lower case?
  • The proper way to convert a string to all lowercase is:
  • To convert all the characters in a input string from lowercase to uppercase, ____________ method is used in...
  • Which function is used to convert lower case characters to upper case characters?
  • Which of the following character methods in Java returns true value, when an argument provided with a funct...
  • Which of the following methods converts data from its internal format into a human readable form?
  • Which of the following methods is used to convert a given string to a new character array?
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