Java implementation of the charAt method
KW.java
Output
kodingwindow@kw:~$ javac KW.java
kodingwindow@kw:~$ java KW H D kodingwindow@kw:~$
What Next?
Java program to find the length of a given string
How to find the length of a string without using the length method in java
Java program to reverse a given string using the reverse method
Advertisement