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