0
Can you run programme without using semicolons
Public class Java { Public static void main{ System.out.print("hello world"); }}
3 odpowiedzi
+ 4
Yes. Here is an example:
https://code.sololearn.com/cj575JpqnZAH/?ref=app
+ 1
If you're asking how to create a hello world style program that doesn't use a semicolon or if it is possible. Yes, it's possible.
public class Main {
public static void main(String[] args) {
if (System.out.print("Hello, World!") == null) {}
}
}