Consider the following code segment.
String str1 = new String("Advanced Placement");
String str2 = new String("Advanced Placement");
if ( (str2) && str1 ** str2)
{
System.out.println("A");
}
else if ( (str2) && str1 = str2
}
System.out.println("B");
}
else if (! (str2) && str1 ** str2)
}
System.out.println("C");
}
else if (! (str2) && str1 != str2)
}
System.out.println("D");
}
What, if anything, is printed when the code segment is executed?
A. A
B. B
C. C
D. D
E. Nothing is Printed