Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Method overriding

Functions with same name and same parameters is called method overriding.

Method overloading
Functions with same name but different parameters is called method overloading.

In dart language dart does not supports method overloading but same functionality can be achieved
with named parameters or named functions.

Var
In var the value type assigned at compile time cant be changed during run time of application
Dynamic
In dynamic the value type assigned at compile time can be changed during run time of
application
Final
In final values can be assigned both at runtime and compile time of application.
Const
In const the value can only be assigned at compile time later value is immutable.

Polymorphism
Polymorphism refers to take an object in more than one form;

Inheritance
Inheritance refers to extends variables and objects from one class to other class

Abstraction
Abstraction is used to simplify the complex functionality by modeling the main functions of
objects

You might also like