This content originally appeared on DEV Community and was authored by hema latha
public static void main(String[] args) {
// TODO Auto-generated method stub
String name= "hemalatha";
System.out.println(name.toUpperCase());
}
out put - HEMALATHA
-----------------
public static void main(String[] args) {
// TODO Auto-generated method stub
String name= "hemalatha";
//System.out.println(name.toUpperCase());
for(int i=0; i<name.length(); i++)
{
char ch = name.charAt(i);
{
System.out.print((char)(ch-32));
}
}}}
out put -- HEMALATHA
This content originally appeared on DEV Community and was authored by hema latha
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.
APA
MLA
hema latha | Sciencx (2025-03-11T16:34:42+00:00) String convert uppercase my name. Retrieved from https://www.scien.cx/2025/03/11/string-convert-uppercase-my-name/
" » String convert uppercase my name." hema latha | Sciencx - Tuesday March 11, 2025, https://www.scien.cx/2025/03/11/string-convert-uppercase-my-name/
HARVARDhema latha | Sciencx Tuesday March 11, 2025 » String convert uppercase my name., viewed ,<https://www.scien.cx/2025/03/11/string-convert-uppercase-my-name/>
VANCOUVERhema latha | Sciencx - » String convert uppercase my name. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/03/11/string-convert-uppercase-my-name/
CHICAGO" » String convert uppercase my name." hema latha | Sciencx - Accessed . https://www.scien.cx/2025/03/11/string-convert-uppercase-my-name/
IEEE" » String convert uppercase my name." hema latha | Sciencx [Online]. Available: https://www.scien.cx/2025/03/11/string-convert-uppercase-my-name/. [Accessed: ]
rf:citation » String convert uppercase my name | hema latha | Sciencx | https://www.scien.cx/2025/03/11/string-convert-uppercase-my-name/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.