hello
In Khalid's book on page number 60 (chapter 3) in the program
Pizza a=new Pizza("Sweet&Sour");
Pizza b=new Pizza("Sweet&Sour");
boolean
test = a == b;
author shows the value of test is false.Please tell me why the objects in this case are not equal?Both are the objects of Pizza class and parameters are also same.Only difference is of references.
Thanks