Multiple Choice Question

Quiz Guidelines



What will the following program print?

public class TestClass{
static String str;
public static void main(String[] args){

Select 1 option

A. It will not compile.
B. It will compile but throw an exception at runtime.
C. It will print 'null' (without quotes).
D. It will print nothing.
E. None of the above.

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within!!!