Print "Hello, Java!"

Report a typo

Given a program that should print "Hello, Java!" but won't compile, fix the program.


Write a program in Java 17
class Main {

static void main(String args) {
System.out.println("Hello, Java!");
}
}
___

Create a free account to access the full topic