0
I have a doubt... Want it urgently
Class A{ public int x ; public ____ equals (object o) { ______ ((A) o). x ==this. x; } public static void main (String [] args) { A a = new A() ; a. x = 9; A b = new __(); Options are: Return new x boolean equals b A Please solve this blanks!!!
5 Réponses
+ 3
Okay then, good job 👍
+ 1
No not working
+ 1
I think you are not showing the whole code, the main method and the class A are missing closing brackets for their block.
0
Ya i got it
I got it correct
0
Ya thanks😊☺