- 1
Wich of the programs is wrong?and why?
For the class defined as follows public class Bidon{ int x;} Wich of the programs is wrong?and why? ▪︎Bidon a=new Bidon(3); ▪︎Bidon a=new Bidon() ; String s=a.toString(); ▪︎Bidon a=new Bidon() ; boolean b=a.equal("bonjour"); ▪︎Bidon a=new Bidon() ; boolean b=a.equal(a);
2 odpowiedzi
+ 1
Post a link to a MWE code please
https://www.sololearn.com/post/75089/?ref=app
+ 1
hossin Chorfi Duplicate question I just answered on the other one please delete.