0% found this document useful (0 votes)
58 views

What Is Dart Programming: Data Type

Dart is an open-source, general-purpose programming language developed by Google in 2011. It is used to create frontend user interfaces for web and mobile apps. Dart compiles to native machine code for building mobile apps and is strongly typed. It supports common programming concepts like classes, interfaces, and functions. Dart is an object-oriented language where everything is an object, including primitive values. Classes define objects with fields, methods, constructors, and getters/setters. Dart has basic data types and is a strongly typed language where variables must have a known type.

Uploaded by

Khushi Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

What Is Dart Programming: Data Type

Dart is an open-source, general-purpose programming language developed by Google in 2011. It is used to create frontend user interfaces for web and mobile apps. Dart compiles to native machine code for building mobile apps and is strongly typed. It supports common programming concepts like classes, interfaces, and functions. Dart is an object-oriented language where everything is an object, including primitive values. Classes define objects with fields, methods, constructors, and getters/setters. Dart has basic data types and is a strongly typed language where variables must have a known type.

Uploaded by

Khushi Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

What is Dart Programming

Dart is an open-source, general-purpose, object-oriented programming language with


C-style syntax developed by Google in 2011. The purpose of Dart programming is to
create a frontend user interfaces for the web and mobile apps. It is under active
development, compiled to native machine code for building mobile apps, inspired by
other programming languages such as Java, JavaScript, C#, and is Strongly Typed.
Since Dart is a compiled language so you cannot execute your code directly; instead,
the compiler parses it and transfer it into machine code.

It supports most of the common concepts of programming languages like classes,


interfaces, function

Data Type

Dart is a Strongly Typed programming language. It means, each value you use in your
programming language has a type either string or number and must be known when
the code is compiled. Here, we are going to discuss the most common basic data types
used in the Dart programming language.

Object-Oriented Programming

Dart is an object-oriented programming language, which means every value in a Dart


is an object. A number is also an object in Dart language. Dart programming supports
the concept of OOPs features like objects, classes, interfaces, etc.

Object: An object is an entity, which has state and behavior. It can be physical or
logical. In Dart, every value is an object, even primitive values like text and number.
Dart can also allow you to build your custom object to express more complex
relations between data.

Class: A class is a collection of objects. It means the objects are created with the help
of classes because every object needs a blueprint based on which you can create an
individual object. A class definition includes the following things:

 Fields
 Methods
 Constructor
 Getters and setters forward chaining or backward chaing ?

https://www.javatpoint.com/flutter-dart-programming

You might also like