switch class : switch() fitter
Description
Returns a new instance of switch class.
Syntax
new switch()
Arguments
None.
Return value
Class | Description |
switch | A new instance of switch class. |
Sample code
1: | switch instance = new switch(); |
Notes
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
None.