incompatyble types when compiling

hey Im new here! i just have this promblem with this program

import java.io.*;

public class vocalmet

{

private staticBufferedReader stdIn=new

BufferedReader(new InputStreamReader(System.in));

private static PrintWriter stdOut =new

PrintWriter(System.out,true);

public static char met(char b)

{

char met= b;

{switch (met){

case 'a':

stdOut.println("Vocal");

break;

case 'e':

stdOut.println("Vocal");

break;

case 'i':

stdOut.println("Vocal");

break;

case 'o':

stdOut.println("Vocal");

break;

case 'u':

stdOut.println("Vocal");

break;

default:

stdOut.println("Eso es una consonante");

return met=b;

}

}

}

public static void main (String args[]) throws IOException

{

char b;

stdOut.println("Escribe una letra, tratare de adivinar si es vocal o no");

b= stdIn.readLine();

int d= met(b);

}

}

I thinki it should serve but then I compile it and have this

C:\vocalmet.java:41: incompatible types

found: java.lang.String

required: char

b= stdIn.readLine();

^

1 error

I would really appreciate some feed back

=S

[1313 byte] By [aleza] at [2007-10-2 13:51:02]
# 1
You're reading a line and trying to assign it to a character. Does it make sense for a line to be a single character? If not, could java perhaps have a type for storing a sequence of characters?
DaanSa at 2007-7-13 11:52:01 > top of Java-index,Core,Core APIs...