In the Use Trim example in the chapter that demonstrated how to use the trim( ) method, the if-else-if ladder repeatedly tested the equality of two strings using the equals( ) method. Why didn’t the ladder repeatedly test the equality using ==?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here