Returns a new instance of switch class.
|switch||A new instance of switch class.|
switch instance = new switch();
It is an automatically generated default fitter. It returns an instance as same as getting by the variable declaration.
A returned instance has not been initialized.
Links for reference