how to call constructor in java in main code example Example: java constructor class Huso { public Huso() { //constructor code about a huso } }