import java.io.*;
public class t1
{
public static void main(String a[])
{
int i;
char c='a';
char[] ch={'a','b','c'};
for(i=0;i<3;i++){
System.out.println(ch[i]+" ");
}
//String s=c.toString(); //char cant be dereferenced
String s=ch.toString();
System.out.println(" S : "+s);
}
}
Q-1) I am getting an error while converting a character array to String aoject.
Q-2) why we can't change a single character to String?