java - toString() behavior of object when not overridden -


if tostring() method of class not overridden (or overloaded), , method returns string defined in class, happens when pass instance of class string expected?

if class extends object, result of object#tostring(), called. if class extends else, first #tostring in inheritance path.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -