How to find the type of a variable or Expression Result in JShell.
Was experimenting Bitwise Operators in Java
jshell> byte b=5<<-1;
| Error:
| incompatible types: possible lossy conversion from int to byte
| byte b=5<<-1;
| ^---^
jshell> 5<<-1
$2 ==> -2147483648
jshell>
Is there an alternative like Python type(5<<-1) to find the result type of expression or variable in Jshell.