functions
function definition specifies what and how a specific task would be done
defining a function
a function must be called sa as to execute it
calling a function
functions may return value along with control, back to the caller
returning a function
paremeters are a mechanism to pass values to functions
parameterized function
functions and descriptions
Optional Parameters
three types of optional parameters in Dart
to specify this paramater, use bracket[]
optional positional parameter
optional named parameters
optional parameter with default value
recursion
Lambda
A class definition can include the following
field
setter and getter
responsible for allocating memory for the objects of the class
constructor
function
components put together are termed
data members
new
The right-hand side of the expression invokes the constructor (True or False)
True
The constructor should be passed values if it is parameterized (true or flase)
true
what can you access through the object
attribute and functions
if you do not declare a constructor, this is provided for you
no argument constructor