0

Can you run programme without using semicolons

Public class Java { Public static void main{ System.out.print("hello world"); }}

9th May 2020, 7:48 PM
Rohit Kakade
Rohit Kakade - avatar
3 odpowiedzi
9th May 2020, 8:37 PM
Denise Roßberg
Denise Roßberg - avatar
+ 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) {} } }
9th May 2020, 8:18 PM
ChaoticDawg
ChaoticDawg - avatar