Java Syntax Question 3

Question

What is the output of the following code?



public class Main {
  public static void main(String[] args) {  
    System.out.println("A!"); 
    System.out.println("B"); 
    System.out.println("This is a test);
  } 
}


Compile time error
Missing Quotation Marks for "This is a test);

Note

Quotation must come in pair.




PreviousNext

Related