Question: Suppose Character x = new Character('a'), _______returns true. (JAVA) a. x.equals(new Character('a')) b. x.equalsIgnoreCase('A') c. x.compareToIgnoreCase('A') d. x.equals(a) e. x.equals(A)
Suppose Character x = new Character('a'), _______returns true. (JAVA)
a. x.equals(new Character('a'))
b. x.equalsIgnoreCase('A')
c. x.compareToIgnoreCase('A')
d. x.equals("a")
e. x.equals("A")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
