Hi All, I just started learning Java and was reading the Constructor Overloading article. However, I am a bit confused about how many rules are there, three rules I have listed below ->
- The constructor's name should match the name of the class.
- A constructor cannot have a return type.
- A Java constructor cannot use the keywords abstract, static, final, and synchronized.
Are there any other rules that I am missing?
Article that i was reading: https://www.scaler.com/topics/constr...ading-in-java/