//Sting Class class String1{ public static void main(String[] args){ //String str="Hello"; //String str = new String( "abc"); //str = "bcd"; //byte str[] = {'h', 'e', 'l','l','o','o'}; //System.out.println(str); String str1="Hello"; String str2="HEllo how are you"; /*System.out.println(str2.indexOf('l',3)); System.out.println(str2.indexOf("are")); System.out.println(str2.length()); System.out.println(str2.isEmpty()); System.out.println(str2.substring(1)); System.out.println(str2.substring(1,4));*/ char[] ch; ch=str1.toCharArray(); for(int i=0;i