Tutorialwing

  • Courses
  • Contact Us
  • Articles

5. Kotlin Class & Object Archive

Kotlin class in kotlin example of object and class in kotlin example

Object and Class in Kotlin With Example

This is 1st post of OOPS series in Kotlin. Here, we will talk about class in Kotlin. We will see what is it and why do we need it, a detailed explanation on how can we use it etc. In …
Tutorialwing Kotlin Interface Inheritance in Kotlin With Example

Implement Interface In Kotlin With Example

In this article, we will go through concepts of kotlin interface with examples. We will see how to define, implement interface in kotlin, different features of kotlin interface, multiple interface in same class, how does interface works in kotlin etc. …
Kotlin
1. Kotlin Basic
Introduction
Create Project (Eclipse)
Create Project (IntelliJ IDEA)
Variables
Constants
Input / Output
Operators
Expression / Statement
Comment
Data Types
Number
Character
String
Array
Enum
Type Conversion
Create Kotlin Array Given Size
Create Array From Given Elements
Add New Element in Array
2. Kotlin Function
Function Introduction
Arguments in Function
Infix Function
Recursive Function
Tail Recursive Function
3. Kotlin Control Flow
If Else Block
For Loop
When Block
While Loop
Do While Loop
Return in kotlin
Break In Kotlin
Labeled Break
Continue In Kotlin
Labeled Continue
4. Kotlin Exception
Exception
try catch Block
Multiple Catch Block
Nested try catch Block
finally Block
throw Exception
throws Annotation
Custom Exception
5. Kotlin Class & Object
Interface
Classes in Kotlin
7. Kotlin Examples
Add Two Integers
Swap Two Numbers
Number Odd / Even Check
Find ASCII Value Character
Multiply Two Floating Point Numbers
Find Character of ASCII Value
Find Quotient And Remainder
Read and Print Integer
Read And Print String
Multiply Integer and Floating Point Number
Find Largest Among Three Numbers
Check Vowel or Consonant
Check Leap Year For Given Year
Check Positive or Negative
Find Sum of N Natural Numbers
Find Factorial of Given Number
Check If Character is Alphabet or Not
Find Roots Of Quadratic Equation
Generate Multiplication Table
Generate Fibonacci series
Find GCD or HCF (1)
Print Prime Factors of Given Number
GCD using Prime Factors
Find LCM (1)
Find LCM Using Prime Factors
Find LCM Using GCD
Display Alphabets
Count Digits of Number
Reverse a Given Number
Calculate Power of Number
Check Number Palindrome or Not
Check Prime Number or Not
Print Prime Number Between Interval
Express Number as Sum of Two Primes
Display All Factors of Number
Reverse a Given String
Check Armstrong Number
Find nth Armstrong Number
Print Armstrong Number Between Interval
Convert Binary to Decimal
Convert Large Binary Number to Decimal
Convert Decimal Number to Binary Number
Convert Octal Number to Decimal Number
Convert Decimal Number to Octal Number
Convert Octal to Binary
Convert HexaDecimal to Decimal
Convert HexaDecimal Number to Binary
Traverse Array Elements
Cyclically rotate array by one

LEARN

  • Android With Kotlin
  • Android With Java
  • Kotlin
  • Python
  • C
  • Math
  • Database
  • Computer Networks
  • Operating System

Recent Articles

  • Tips and Tricks for C# Code Optimization
  • Python Program to Find Sum of N Natural Numbers using Recursion
  • Python Program to Find Sum of N Natural Numbers
  • Python Program to Check if Number is Positive or Negative
  • Python Program to Find if Given Year is Leap Year or Not

QUICK LINKS

  • About Us
  • Contact Us
  • Privacy Policy

JOIN US AT

  • Facebook
  • Twitter
  • Youtube

Newsletter

Loading
Copyright © 2017-22. All Rights Reserved.
 

Loading Comments...
 

You must be logged in to post a comment.