answersLogoWhite

0

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

11y ago

What else can I help you with?

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


What is a one lowercase letter?

A lowercase letter is a letter of the alphabet that appears in lowercase form, as opposed to uppercase. It is typically smaller in size and used in writing to differentiate it from its uppercase counterpart.


Which button in the Font Group contains an uppercase A next to a lowercase A?

The button in the Font group that contains an uppercase A next to a lowercase A is the Change Case button. It is used to change the case of selected text to uppercase, lowercase, or other formats.


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 θ