what is the use of char type=in.nextLine().toUpperCase().toUpperCaseArray( )[0]; ?

Printable View