$ jshell
| Welcome to JShell -- Version 12
| For an introduction type: /help intro
jshell> /set feedback verbose
| Feedback mode: verbose
jshell> var v = "AAA"
v ==> "AAA"
| created variable v : String
jshell> var x = v.equals("AAA") ? "1" : 1;
x ==> "1"
| created variable x : Serializable&Comparable<? extends Serializable&Comparable<?>&java.lang.constant.Constable&java.lang.constant.ConstantDesc>&java.lang.constant.Constable&java.lang.constant.ConstantDesc
Created
April 24, 2019 11:38
-
-
Save haruo31/d94c186008d63ab53323fc802dfa8201 to your computer and use it in GitHub Desktop.
output of jshell@OpenJDK-12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment