3.2 Import Statements
Import statements allow the use of module's contents within another module. An import statement consists of the import keyword followed by the identifier of the module being imported and a semicolon.
import MyModule;
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Import statements allow the use of module's contents within another module. An import statement consists of the import keyword followed by the identifier of the module being imported and a semicolon.
import MyModule;