KnowledgeBoat Logo
|

Computer Applications

Write down the syntax to extract the last character of a word(wd) stored in the variable chr.

Java String Handling

ICSE 2010

82 Likes

Answer


char chr = wd.charAt(wd.length() - 1);

Answered By

49 Likes


Related Questions