publicclassTest{publicstaticvoidmain(String[]args){booleanassert=true;if(assert){System.out.println(”assertistrue”);}}}Given:javac-source1.3Test.javaWhatistheresult?()
A. Compilationfails.
B. Compilationsucceedswitherrors.
Compilationsucceedswithwarnings.
D. Compilationsucceedswithoutwarningsorerrors.