- 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);
3 Answers
+ 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.