Tested Java
This commit is contained in:
parent
315b2f5b9c
commit
c7733feaa6
|
@ -1,4 +1,5 @@
|
|||
class HelloWorld {
|
||||
//compiles and runs successfully
|
||||
class helloworld {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello World!");
|
||||
}
|
||||
|
|
3
java/test.sh
Executable file
3
java/test.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
javac --release 17 helloworld.java
|
||||
java helloworld
|
Loading…
Reference in New Issue
Block a user