Semantic portal
Main
Courses
Domains
Terminology
About
Variables
Variables: Creating a variable and initializing it
If an object isn’t restricted to a single type, specify the Object or dynamic type.
dynamic name = 'Bob';
There is an option to explicitly declare the type that would be inferred.
String name = 'Bob';
Variable may be created and initialized using var keyword.
var name = 'Bob';
Related concepts
String
Variables
→
Creating a variable and initializing it
Variables: Creating a variable and initializing it — Structure map
Clickable & Draggable!
Variables: Creating a variable and initializing it — Related pages:
Variables