public void testIfA(){<br /> if(testIfB("True")){<br /> System.out.println("True");<br /> }else{<br /> System.out.println("Nottrue");<br /> }<br /> }<br /> public Boolean testIfB(Stringstr){<br /> return Boolean.valueOf(str);<br /> }<br /> What is the result when method testIfA is invoked?()
A、True
B、Nottrue
C、Anexceptionisthrownatruntime.
D、Compilationfailsbecauseofanerroratline12.
E、Compilationfailsbecauseofanerroratline19.