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
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!"); }
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!"); }