1. REPL Jshell
2. Collection Factory Method
3. HTTP/2 Client
4. Jigsaw Project /Modularity
5. Other features
https://www.youtube.com/watch?v=NJY-D9JLLdQ
1. Test Jshell
Take a command prompt wind + R -> type "cmd"
2. Check java version, must be above 9
java -version
3. type "jshell" in command prompt
4. This will help you to test simple syntax
-------------------------------------------------------------------------------------------------
C:\Users\USR>java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment Zulu21.28+85-CA (build 21+35)
OpenJDK 64-Bit Server VM Zulu21.28+85-CA (build 21+35, mixed mode, sharing)
C:\Users\USR>jshell
| Welcome to JShell -- Version 21
| For an introduction type: /help intro
jshell> System.out.println("Hello");
Hello
jshell>
No comments:
Post a Comment