Dev Sanskriti
Vishwavidyalaya
“Java Vs Kotlin”
Presented by:
Rupali Singh
BCA 4th Sem
Contents :
➢ Introduction to kotllin
➢ Features of kotlin
➢ Interesting facts about Kotlin
➢ Java vs kotlin
➢ References
Introduction to Kotlin :
➢ Statically typed programming language for jvm, Android
and the browser- developer.
➢ Similar to java , but free of its legacy problems and
limitations.
➢ It can be freely mixed with java, existing codebase,
ecosystem, libraries etc.
logo :
➢ Null safety
➢ Type inference
➢ Extension functions
➢ Immutable collections
➢ Function types & Lambdas
➢ Default & named arguments
Features of Kotlin :
Continue...
➢ Smart casts
➢ Data classes
➢ Enhanced switch case
➢ String interpolation
➢ Great standard library
Facts about Kotlin :
➢ On May 2019, Google announced that the Kotlin
programming language is now it’s preferred programming
language for Android app developers.
➢ It’s the 4th most loved programming language according
to the 2019 stack overflow survey.
➢ Kotlin was also won the ‘Breakout project of the year
award’ at OSCON’19.
Java Vs Kotlin :
➢ Basic Syntax of Java:
public class JavaProgram{
public static void main(String args [])
{
System.out.println(“Hello World!”);
}
}
Continue...
➢ Basic Syntax of kotlin
fun main()
{
println(“Hello World!”) //semicolon is optional
}
Kotlin usages Highlights :
➢ Gradle- Gradle is introducing Kotlin as a language for
writing build scripts.
➢ Corda- Corda is an open source distributed ledger
platform, supported by major banks, and built entirely in
Kotlin.
➢ Evernote- Evernote recently integrated Kotlin into their
Android client.
➢ Coursera- Coursera Android app is partially written in
Kotlin.
➢ Pivotal- Spring makes use of Kotlin’s language features to
offer more concise APIs.
➢ Atlassian- All new code in the Trello Android app is in
Kotlin.
Continue...
References…
➢ Kotlinlang.org
➢ Playkotlinlang.org
Thank
you!

Java vs kotlin

  • 1.
    Dev Sanskriti Vishwavidyalaya “Java VsKotlin” Presented by: Rupali Singh BCA 4th Sem
  • 2.
    Contents : ➢ Introductionto kotllin ➢ Features of kotlin ➢ Interesting facts about Kotlin ➢ Java vs kotlin ➢ References
  • 3.
    Introduction to Kotlin: ➢ Statically typed programming language for jvm, Android and the browser- developer. ➢ Similar to java , but free of its legacy problems and limitations. ➢ It can be freely mixed with java, existing codebase, ecosystem, libraries etc.
  • 4.
  • 5.
    ➢ Null safety ➢Type inference ➢ Extension functions ➢ Immutable collections ➢ Function types & Lambdas ➢ Default & named arguments Features of Kotlin :
  • 6.
    Continue... ➢ Smart casts ➢Data classes ➢ Enhanced switch case ➢ String interpolation ➢ Great standard library
  • 7.
    Facts about Kotlin: ➢ On May 2019, Google announced that the Kotlin programming language is now it’s preferred programming language for Android app developers. ➢ It’s the 4th most loved programming language according to the 2019 stack overflow survey. ➢ Kotlin was also won the ‘Breakout project of the year award’ at OSCON’19.
  • 8.
    Java Vs Kotlin: ➢ Basic Syntax of Java: public class JavaProgram{ public static void main(String args []) { System.out.println(“Hello World!”); } }
  • 9.
    Continue... ➢ Basic Syntaxof kotlin fun main() { println(“Hello World!”) //semicolon is optional }
  • 10.
    Kotlin usages Highlights: ➢ Gradle- Gradle is introducing Kotlin as a language for writing build scripts. ➢ Corda- Corda is an open source distributed ledger platform, supported by major banks, and built entirely in Kotlin. ➢ Evernote- Evernote recently integrated Kotlin into their Android client.
  • 11.
    ➢ Coursera- CourseraAndroid app is partially written in Kotlin. ➢ Pivotal- Spring makes use of Kotlin’s language features to offer more concise APIs. ➢ Atlassian- All new code in the Trello Android app is in Kotlin. Continue...
  • 12.
  • 13.