// Aqui el código. Espero que solucione tu inquietud "novalida"
package pak;
import java.io.*;
public class CTest {
public static void main (String[]args)
{
InputStreamReader isr = new InputStreamReader (System.in);
BufferedReader flujoE = new BufferedReader (isr);
PrintStream flujoS = System.out;
String car = "";
try
{
flujoS.print("Caracter: ");
car = flujoE.readLine();
flujoS.println(car);
flujoS.print("Caracter: ");
car = flujoE.readLine();
flujoS.println(car);
}
catch(IOException e)
{
}
}
}
//Roberto
package pak;
import java.io.*;
public class CTest {
public static void main (String[]args)
{
InputStreamReader isr = new InputStreamReader (System.in);
BufferedReader flujoE = new BufferedReader (isr);
PrintStream flujoS = System.out;
String car = "";
try
{
flujoS.print("Caracter: ");
car = flujoE.readLine();
flujoS.println(car);
flujoS.print("Caracter: ");
car = flujoE.readLine();
flujoS.println(car);
}
catch(IOException e)
{
}
}
}
//Roberto