constructor in intellj idea code example Example: calling constructor in intellij idea to call directly construcor or press ⌘N or Alt+Insert