Dart Basics | RRTutors

Dart Basics

Dart is an open-source general-purpose programming language. It was originally developed by Google. 

Dart is an object-oriented language with C-style syntax. It supports programming concepts like interfaces, classes, unlike other programming languages Dart doesn’t support arrays. 

Dart collections can be used to replicate data structures such as

arrays, generics, and optional typing.

The following code shows a simple Dart program

 

 

void main() {

  print('Hello, World!');

}

 

Every Dart application contains main() functions, from here code will execute.

 

Advertisements