The following program is an example of?class Simple{public static void main(String args[]){String s=Sachin;System.out.println(s.length());//6}}
1.length() method
2.intern() method
3.trim() method
4.charAt() method
Answer:1
Posted Date:-2021-11-06 08:03:12