import java.io.*;
import java.util.*;
class usr_scanner
{
public static void main(String args[])
{
try
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter any character");
char s=sc.next().charAt(0);
System.out.println("You enter character is - "+s);
}
catch(Exception e)
{
System.out.println(e);
}
}
}
import java.util.*;
class usr_scanner
{
public static void main(String args[])
{
try
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter any character");
char s=sc.next().charAt(0);
System.out.println("You enter character is - "+s);
}
catch(Exception e)
{
System.out.println(e);
}
}
}