< Prev
Next >



toUpperCase() method



The toUpperCase() method of String class is used to convert all the characters in a String to upper case letters.

Syntax - public String toUpperCase()

As per syntax of this method,
Method toUpperCase() method when called on any String object, returns its contents as an upper case String. The returned upper case String must be stored or used otherwise it is lost.


Please subscribe for notifications, we post a new article everyday.

Decodejava Google+ Page Decodejava Facebook Page  DecodeJava Twitter Page

Coming Next
-
JSP & Servlets

Ad2