“The code snippetif( “”Welcome””.trim() == “”Welcome””.trim() )System.out.println(“”Equal””);elseSystem.out.println(“”Not Equal””);What will be Answer(A) compile and display â??Equalâ?? (B) compile and display â??Not Equalâ?? (C) cause a compiler error (D) compile and display NULL”

Average Rating
0 out of 5 stars. 0 votes.

“The code snippetif( “”Welcome””.trim() == “”Welcome””.trim() )System.out.println(“”Equal””);elseSystem.out.println(“”Not Equal””);What will be Answer(A) compile and display â??Equalâ?? (B) compile and display â??Not Equalâ?? (C) cause a compiler error (D) compile and display NULL”

cause a compiler errorsource pskills.org