Solved

Which of the Following Is Not Syntactically Legal in Java

Question 7

Multiple Choice

Which of the following is not syntactically legal in Java?


A) System.out.println("Hi") ;
B) public class Foo
C) s t a t i c main(String[] args)
D) {}
E) only A is legally valid; all the others are illegal

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions