S O M E | B A S I C | M E T H O D S | O F | S t r i n g | I N | J A V A :
S T R I N G M E T H O D S in J A V A
(1) How to read String and char ----->>>
.next(); | .nextLine(); | .next().charAt(0)
(2) String mein se koi bhi character kaise nikale indexing ki help se ----->>>
.charAt(index)
(3) How to read any ASCII value of a Character from a given String ----->>>
.codePointAt(index); | .codePointBefore(index);
(4) How to compare 2 String ----->>>
compareTo() | equals() | equalsIgnoreCase()
(8) What is the use indexOf("----") ----->>>
AND
substring(start , end) :
- S e e Y o u A g a i n !!
Comments
Post a Comment