Page 1 of 1

Why are these two snippets of code identical from the point of view of the compiler? (1 mark) //snippet 1 public static

Posted: Fri Apr 29, 2022 8:00 am
by answerhappygod
Why Are These Two Snippets Of Code Identical From The Point Of View Of The Compiler 1 Mark Snippet 1 Public Static 1
Why Are These Two Snippets Of Code Identical From The Point Of View Of The Compiler 1 Mark Snippet 1 Public Static 1 (24.93 KiB) Viewed 38 times
JAVA
Why are these two snippets of code identical from the point of view of the compiler? (1 mark) //snippet 1 public static void main(String[] args ) { System.out.println ( "Hi!" ); } //snippet 2 public static void main(String[] args) { System.out.println("Hi!"); }