If you compile and execute an application with the following code in its main() method: String s = new String( "Computer" ); if( s == "Computer" ) System.out.println( "Equal A" ); if( s.equals( "Computer" ) ) System.out.println( "Equal B" );
Reveal answer
Fill a bubble to check yourself