SlideShare a Scribd company logo
Institute of Engineering &Technology
SEMINAR ON
KOTLIN
SACHIN
141231030242
BUNDELKHAND UNIVERSITY JHANSI
KOTLIN-?
Contents
 Introduction
 History
 Features of Kotlin programming language
 Basic syntax
 Difference Between kotlin and java
 Conclusion
Introduction
• Kotlin is a statically-typed programming language
• It is jvm targeted language
• It support object oriented programing and
functional programing feature
• It can also can be compiled to JavaScript source
code
• Its primary development is from a team of
JetBrains
History…
 In July 2011 JetBrains Start Project Kotlin, a new
language for the JVM, which had been under
development for a year.
 JetBrains hopes that the new language will
drive IntelliJ IDEA sales.
 Kotlin v1.0 was released on February 15, 2016.
 In may 2017 Google I/O Declared as the First
class language for android development
Features of Kotlin programming language
• Kotlin is open source.
• Full Java Interoperability.
• Kotlin compiles to JVM bytecode or JS.
• Null Safety in Kotlin.
• Kotlin wants you to write less code.
• Higher order function
Basic syntax
 PACKAGE:-
 Package specification should we at the top of the application similar to java
 Example-
package Bu.Iet;
import java.util;//import util package
 Defining local variables
 Example-
var a:Int=12//immediate assignment
var a=123;//type inference
Difference Between Kotlin and java
No Semicolons
 // Java System.out.println("Hello world!);
// Kotlin println("Hello world!")
No 'new'
// Java
 Boa a = new Boa();
// Kotlin
 val a = Boa()
No Checked Exceptions
• // Java code often looks like this
• Try
• {
• Connection con=DriverManager.getConnection()//this sta throw an
checked exception
• }
catch(SqlException r)
• {
• }
• // Kotlin has no checked exception
Type Inference
// Java
 Int a = 1;
 String b = “sachin";
 Program p;
 // Kotlin
 var a = 1
 var b = “sachin"
 var p: Program
Size of Code
• // Java
• class Person
• {
• String firstName;
Person(String firstName) { this.firstName = firstName;
• }
• }
• // Kotlin class with primary constructor
• class Person(firstName: String)
Data Classes
• // Java
• To hold the data we must make simple classes with getter and setter method
in data
• // Kotlin
• In kotlin they provide the concept od data classes to hold the data
• To define an data class in kotlin we use the keyword data before the class
keyword
• data class Student(val name: String,val age: int)
Kotlin Language powerpoint show file
Any Queries
Kotlin Language powerpoint show file

More Related Content

PPTX
Introduction to Koltin for Android Part I
PDF
Introduction to kotlin for android app development gdg ahmedabad dev fest 2017
PDF
Introduction to kotlin
PPTX
Android Development with Kotlin course
PDF
Android Development with Kotlin, Part 1 - Introduction
ZIP
Android Application Development
PPTX
Android Operating System
Introduction to Koltin for Android Part I
Introduction to kotlin for android app development gdg ahmedabad dev fest 2017
Introduction to kotlin
Android Development with Kotlin course
Android Development with Kotlin, Part 1 - Introduction
Android Application Development
Android Operating System

What's hot (20)

PDF
Kotlin for Android Development
PPT
The Kotlin Programming Language
PPTX
Kotlin presentation
PPTX
Android with kotlin course
PPTX
Methods in java
PPTX
Intro to kotlin
PDF
A quick and fast intro to Kotlin
PDF
Java vs kotlin
PPTX
Kotlin on android
PPT
Object Oriented Programming Concepts
PDF
Kotlin - Better Java
PPT
PPTX
Android jetpack compose | Declarative UI
PPTX
Firebase
PPTX
Jetpack Compose.pptx
PDF
Try Jetpack Compose
PPT
Core java concepts
PPTX
Introduction to Kotlin Language and its application to Android platform
PPTX
Common language runtime clr
PPTX
Introduction to Java -unit-1
Kotlin for Android Development
The Kotlin Programming Language
Kotlin presentation
Android with kotlin course
Methods in java
Intro to kotlin
A quick and fast intro to Kotlin
Java vs kotlin
Kotlin on android
Object Oriented Programming Concepts
Kotlin - Better Java
Android jetpack compose | Declarative UI
Firebase
Jetpack Compose.pptx
Try Jetpack Compose
Core java concepts
Introduction to Kotlin Language and its application to Android platform
Common language runtime clr
Introduction to Java -unit-1
Ad

Similar to Kotlin Language powerpoint show file (20)

PPTX
Kotlin
PPTX
Kotlin - A Programming Language
PPTX
PDF
Programming with Kotlin
PDF
JDD 2017: Kotlin for Java developers (Tomasz Kleszczyński)
PDF
Kotlin tutorial
PPTX
Kotlin Overview
PDF
A short introduction to the Kotlin language for Java developers
PDF
Kotlin for android development
PPTX
Introduction to Kotlin
PDF
A Review Paper on Kotlin Programming Language
PDF
9054799 dzone-refcard267-kotlin
PDF
Kotlin for Android Developers - 1
PDF
Why You Should Go with Kotlin for Android App Development.pdf
PDF
Is this Swift for Android? A short introduction to the Kotlin language
PDF
Kotlin vs Java | A Comparative Analysis | IDEA USHER
PDF
JavaOne 2016 - Kotlin: The Language of The Future For JVM?
PDF
Kotlin from-scratch
PDF
What’s new in Kotlin?
PPTX
Introduction_to_Kotlin.pptx
Kotlin
Kotlin - A Programming Language
Programming with Kotlin
JDD 2017: Kotlin for Java developers (Tomasz Kleszczyński)
Kotlin tutorial
Kotlin Overview
A short introduction to the Kotlin language for Java developers
Kotlin for android development
Introduction to Kotlin
A Review Paper on Kotlin Programming Language
9054799 dzone-refcard267-kotlin
Kotlin for Android Developers - 1
Why You Should Go with Kotlin for Android App Development.pdf
Is this Swift for Android? A short introduction to the Kotlin language
Kotlin vs Java | A Comparative Analysis | IDEA USHER
JavaOne 2016 - Kotlin: The Language of The Future For JVM?
Kotlin from-scratch
What’s new in Kotlin?
Introduction_to_Kotlin.pptx
Ad

Recently uploaded (20)

PPTX
Artificial Intelligence
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Construction Project Organization Group 2.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Sustainable Sites - Green Building Construction
PDF
737-MAX_SRG.pdf student reference guides
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
III.4.1.2_The_Space_Environment.p pdffdf
Artificial Intelligence
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
CYBER-CRIMES AND SECURITY A guide to understanding
CH1 Production IntroductoryConcepts.pptx
Foundation to blockchain - A guide to Blockchain Tech
bas. eng. economics group 4 presentation 1.pptx
Safety Seminar civil to be ensured for safe working.
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Construction Project Organization Group 2.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Sustainable Sites - Green Building Construction
737-MAX_SRG.pdf student reference guides
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Internet of Things (IOT) - A guide to understanding
Automation-in-Manufacturing-Chapter-Introduction.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
III.4.1.2_The_Space_Environment.p pdffdf

Kotlin Language powerpoint show file

  • 1. Institute of Engineering &Technology SEMINAR ON KOTLIN SACHIN 141231030242 BUNDELKHAND UNIVERSITY JHANSI
  • 3. Contents  Introduction  History  Features of Kotlin programming language  Basic syntax  Difference Between kotlin and java  Conclusion
  • 4. Introduction • Kotlin is a statically-typed programming language • It is jvm targeted language • It support object oriented programing and functional programing feature • It can also can be compiled to JavaScript source code • Its primary development is from a team of JetBrains
  • 5. History…  In July 2011 JetBrains Start Project Kotlin, a new language for the JVM, which had been under development for a year.  JetBrains hopes that the new language will drive IntelliJ IDEA sales.  Kotlin v1.0 was released on February 15, 2016.  In may 2017 Google I/O Declared as the First class language for android development
  • 6. Features of Kotlin programming language • Kotlin is open source. • Full Java Interoperability. • Kotlin compiles to JVM bytecode or JS. • Null Safety in Kotlin. • Kotlin wants you to write less code. • Higher order function
  • 7. Basic syntax  PACKAGE:-  Package specification should we at the top of the application similar to java  Example- package Bu.Iet; import java.util;//import util package  Defining local variables  Example- var a:Int=12//immediate assignment var a=123;//type inference
  • 8. Difference Between Kotlin and java No Semicolons  // Java System.out.println("Hello world!); // Kotlin println("Hello world!")
  • 9. No 'new' // Java  Boa a = new Boa(); // Kotlin  val a = Boa()
  • 10. No Checked Exceptions • // Java code often looks like this • Try • { • Connection con=DriverManager.getConnection()//this sta throw an checked exception • } catch(SqlException r) • { • } • // Kotlin has no checked exception
  • 11. Type Inference // Java  Int a = 1;  String b = “sachin";  Program p;  // Kotlin  var a = 1  var b = “sachin"  var p: Program
  • 12. Size of Code • // Java • class Person • { • String firstName; Person(String firstName) { this.firstName = firstName; • } • } • // Kotlin class with primary constructor • class Person(firstName: String)
  • 13. Data Classes • // Java • To hold the data we must make simple classes with getter and setter method in data • // Kotlin • In kotlin they provide the concept od data classes to hold the data • To define an data class in kotlin we use the keyword data before the class keyword • data class Student(val name: String,val age: int)