Tech tip of this week

How to capitalize the first letter of a String in Java?

String name= "app development"; 
Character.toUpperCase(name.charAt(0));  //App development

No comments:

Post a Comment