java inputHandler error
<p>I can't get what is going wrong in the following program. When i compile it give some error. in the line which i have bold.
<code><pre>
import java.util.*;
public class Kutty
{
    public static void main(String args[])
    {
    byte a[]={5,2,3};
    char c;
    Scanner scan=new Scanner(System.in);
    <b>c=scan.nextChar();</b>
    for(byte x :a)
    {
        System.out.println("hello"+x);</p>

}

}
</code></pre>

<p>}</p>
