I would like to know if using the new command jshell, it is possible to test a whole Java class.
Many thanks in advance.
Juan antonio
I would like to know if using the new command jshell, it is possible to test a whole Java class.
Many thanks in advance.
Juan antonio
Use /open
command to let JShell read the Java class as a snippet.
/open C:\Test.java
should add contents of Test.java as a snippet.
A question on similar lines is answered here