Matrimony OTT-Platforms Jobs Coupons Business

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.



Next Post Previous Post
No Comment
Add Comment
comment url
We detected that you're using an AdBlocker. Please disable it and refresh to continue using our website.
Ad