Welcome to the Treehouse Community
Looking to learn something new?
What is the meaning of this();?
Anyone could explain me?
Tonnie FanadezUX Design Techdegree Graduate 22,793 Points
Hello random2u r2u
*this (String something ); * is an example of constructor overloading.
You should call this() (or any other overloading of this()) in the first line of your constructor and thus avoid constructor code duplications.
As suggested by Stephen Parker please show us the usage context to be able to clarify further.