DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
uppercase java
string s
=
"hello"
;
s
=
Character
.
toUpperCase
(
s
.
charAt
(
0
)
)
+
s
.
substring
(
1
)
;
The
output will be
:
Hello
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#uppercase
#java
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit