Theoretical Paper
- Computer Organization
- Data Structure
- Digital Electronics
- Object Oriented Programming
- Discrete Mathematics
- Graph Theory
- Operating Systems
- Software Engineering
- Computer Graphics
- Database Management System
- Operation Research
- Computer Networking
- Image Processing
- Internet Technologies
- Micro Processor
- E-Commerce & ERP
- Dart Programming
- Flutter Tutorial
- Numerical Methods Tutorials
- Flutter Tutorials
- Kotlin Tutorial
Practical Paper
Industrial Training
Kotlin Collections
Collections in Kotlin are used to store group of related objects in a single unit. By using collection, we can store, retrieve manipulate and aggregate data.
Types of Kotlin Collections
Kotlin collections are broadly categories into two different forms. These are:
- Immutable Collection (or Collection)
- Mutable Collection
Immutable Collection:
Immutable collection also called Collection supports read only functionalities. Methods of immutable collection that supports read functionalities are:
Collection Types | Methods of Immutable Collection |
List | listOf() |
Map | mapOf() |
Set | setOf() |
Mutable Collection:
Mutable collections supports both read and write functionalities. Methods of mutable collections that supports read and write functionalities are:
Collection Types | Methods of Mutable Collection |
List | ArrayList< T>() |
Map | HashMap |
Set | hashSetOf |