Jshell can check whether statement is complete or not. if the statement is not complete then jshell automatically opens continuation prompt (...>), you can enter subsequent statements in continuation prompt and proceed.
jshell> class Employee{
...> String firstName;
...> String lastName;
...> }
| created class Employee
No comments:
Post a Comment