answersLogoWhite

0


Best Answer

In Java you can invoke the toUpperCase()method on a string to convert it to a new string with all upper case characters.

For example, "abc".toUpperCase() returns "ABC"

Likewise, the static Character.toUpperCase(char ch) method takes a single character and returns the upper-case equivalent of that character (e.g. 'a' -> 'A').

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to convert lowercase to uppercase in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Java program to convert lowercase to uppercase?

You can use the toUpperCase() method on a String to convert any String to all uppercase.


Does Java keywords are written in lowercase as well as uppercase?

it depends mostly it is written in lower case but few start with an uppercase as Java is case sensitive


How do you convert uppercase to lowercase and vice versa in c?

with toupper and tolower, from ctype.h


What is the difference between uppercase and lowercase?

Uppercase---UPPERCASE TYPE LETTERS---Capital letters Lowercase---lowercase type letters----small letters


What are uppercase and lowercase letters?

THESE LETTERS ARE IN UPPERCASE. these letters are in lowercase. These Letters Are in Upper and Lower Case.


What is uppercase and lowercase?

Uppercase and Lowercase is wut u use on the computer to type.Uppercase is Capital.Lowercase is smaller letters.


What commands are used to prints text in java?

System.out.println("text"); or System.out.print("text"); Please note that Java is case sensitive, meaning you must match uppercase and lowercase exactly.


What is the antonym of uppercase?

It's lowercase


Are days of the week and month of the year always lowercase or uppercase?

As proper nouns they should be written with an initial uppercase letter followed by the rest of the letters in lowercase.


What is the symbol for Theta?

uppercase Θ, lowercase θ


What logo has a lowercase red e and an uppercase red J?

Lowercase j and an o - what company.


What is upper and lower case numbers and letters?

There are no upper or lowercase numbers, but uppercase letters are like this: ABCDEFGHIJKLMNOPQRSTUVWXYZ and lowercase are like this: abcdefghijklmnopqrstuvwxyz. ---- Contrary to what the above answerer has said, there actually are upper and lowercase numbers, which are used specifically when designing using typography. An Uppercase Number, 1 = One < Uppercase