- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Soumak De has Published 84 Articles
Soumak De
3K+ Views
"reified" is a special type of keyword that helps Kotlin developers to access the information related to a class at runtime. "reified" can only be used with inline functions. When "reified" keyword is used, the compiler copies the function’s bytecode to every section of the code where the function has ... Read More
Soumak De
3K+ Views
In Kotlin, "!!" is an operator that is known as the double-bang operator. This operator is also known as "not-null assertion operator". This operator is used to convert any value to a non-NULL type value and it throws an exception if the corresponding value is NULL. In the following example, ... Read More
Soumak De
4K+ Views
List and array are two popular collections supported by Kotlin. By definition, both these collections allocate sequential memory location. In this article, we will take an example to demonstrate the difference between these two types of collections.AttributeArrayListImplementationArray is implemented using Array classList or MutableList interfaces are used to implement a ... Read More
Soumak De
3K+ Views
Data class is a class that holds the data for an application. It is just like a POJO class that we use in Java in order to hold the data.In Java, for data class, we need to create getter and setter methods in order to access the properties of that ... Read More
Soumak De
3K+ Views
In every programming language, we need some variable whose value will never change thoroughout the program. In Kotlin too, we have a keyword to create such a variable whose value will remain as constant throughout the program. In order to declare a value as constant, we can use the "const" ... Read More
Soumak De
929 Views
A Collection is an object where developers can group different types of related objects in one place. There are different kinds of collections present in Kotlin library such as List, Array, etc.In this article, we will see how we can sort a collection by different properties present inside that collection. ... Read More
Soumak De
1K+ Views
An array is a type of data structure that contains a definite number of similar types of values or data. In this data structure, every element can be accessed using the array index that usually starts at "0".In Kotlin, arrays can be created using the function arrayOf() or using an ... Read More
Soumak De
2K+ Views
In Kotlin, we can declare a variable using two different keywords: one is var and the other one is val. In this article, we will take an example and demonstrate how these declarations are different from each other.AttributevarvalDeclarationvar varName="hello World"val sName = "tutorialspoint.com"ImmutabilityMutableImmutableNo. of times a variable can be assigned Can ... Read More
Soumak De
6K+ Views
const KeywordThe const keyword is used in Kotlin whenever the variable value remains const throughout the lifecycle of an application. It means that const is applied only on immutable properties of the class. In simple words, use const to declare a read-only property of a class.There are some constraints that ... Read More
Soumak De
10K+ Views
Kotlin library provides two different access modifiers for property declaration.In this article, we will highlight the difference between these two access modifiers and how we can use them in our application.LateinitIn order to create a "lateInit" variable, we just need to add the keyword "lateInit" as an access modifier of ... Read More
To Continue Learning Please Login
Login with Google