Java Constructor Chaining [duplicate]
问题 This question already has answers here : How to avoid constructor code redundancy in Java? (4 answers) Closed 6 years ago . Hi I am just learning about constructor chaining in Java and had some questions... First of all could someone please explain when I would ever need to use this? Off the top of my head I seriously cannot think of a situation. In this example, within the constructor with no arguments I call another constructor. How do I access this new "James Bond" object for future use?