Multiple Choice Question

Quiz Guidelines

 

QID: 
60
Tags: 
Question: 

What will the following code print when run?

public class TestClass{
  public static long main(String[] args){
     System.out.println("Hello");
     return 10L;
  }
}

Select 1 option

A. Hello
B. It will print nothing.
C. It will not compile
D. It will throw a Throwable at runtime.
E. None of the above.

Q&A Set: