Question: I noticed that the argument to the equals() method in String and Color is of type Object. Shouldnt the argument be of type String and
I noticed that the argument to the equals() method in String and Color is of type Object. Shouldn’t the argument be of type String and Color, respectively?
Step by Step Solution
3.44 Rating (151 Votes )
There are 3 Steps involved in it
No In Java the equals method is a sp... View full answer
Get step-by-step solutions from verified subject matter experts
