✪ Choose the correct option.
What will be the output of the program?
public void foo( boolean a, boolean b) {
if(a) {
System.out.println("A"); /* Line 3 */
}
else if(a && b) { /* Line 5 */
System.out.println( "A && B");
}
else {/* Line 8 */
if ( !b ) {
System.out.println( "notB") ;
}
else {
System.out.println( "ELSE" ) ;
}
}
}