What is the point of constructor chaining in java and how to combine it with tostring()?
问题 So i know how to use it, how it works.The question what is the point in real life scenario. Imagine created class without toString() overriding. So what is the point in that class if you can't display it properly ?? And please try not to explain how constructor chaining works or something like that. I know how it works. I want to know does anyone do this in real life because without toString() overriding i don't see the point public class ConstructorChaining { String a; int b; int c; int d;