try this,
String s = "25999993654";
System.out.println(Character.getNumericValue(s.charAt(0))
+ Character.getNumericValue(s.charAt(1)));
1
solved Can I product of charAt in Java? [duplicate]
try this,
String s = "25999993654";
System.out.println(Character.getNumericValue(s.charAt(0))
+ Character.getNumericValue(s.charAt(1)));
1
solved Can I product of charAt in Java? [duplicate]