FAQ: Learn Java: Methods - The toString() Method

This is the full part of the reply. It’s a bit ambiguous but I believe it’s referring to having multiple objects in a single file rather than multiple constructors. To clarify, you can have multiple objects in both Java and JS, but multiple constructors only in Java. Note that objects are different from constructors.


You can have multiple constructors in Java; they have to take in different arguments so the compiler knows which constructor should be used. The following article explains this.

https://medium.com/javarevisited/what-is-constructor-in-java-how-to-overload-constructors-what-is-constructor-chaining-9dc77e2cf33e

You refer to “printing a car.” If you have written some code and have specific questions about it and its constructors, you can post it here (please format it according to this post).