Monday, January 26, 2009

How to use toLowerCase in java?

toLowerCase() is one the basic method of the string class.
I have here and example using toLowerCase() method converting the Upper case text into
lower case.

Example my name:

String name ="JOHN EMISYL PALER"; Declaration of variable.
To convert my name into lower case form heres the following syntax.

System.out.println(name.toLowerCase());









You can download my example below.

Download File

No comments:

Post a Comment

 

blogger templates | Make Money Online