Which code from the given options if put in Main class will not print “Done”?
Function call:- changeName(im); Function implementation :- { im.name = "Done"; return null; }
Function call:- changeName(im); Function implementation :- { im = new Item("Done"); return null; }
Function call :- im = changeName(im); function implementation :- { Item otherObject = new Item("Done"); return otherObject; }
All of the above