Type Here to Get Search Results !

What are important concepts in Dart

 Dart Everything is object

To understand,Look at the world around you.

We,Human also a kind of object,Think about the trees.Trees also object

Basically,Object oriented programing language emulates the real world.As of result we can say Build relationships between different types of objects.

"TYPE"

Every object has a "Type"

For example :-

We can define the "type" of the planet by the way

class Planet{}

same way we can create

class Tree{}

We can create a planet object or tree object in a simple way

var planet= Planet();

var tree= Tree();

Since thes two objects are of different types they are not equal.



Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad