KOTLIN - Sevenmentor Pvt. Ltd · 2019-08-19 · Kotlin - Overview Features Environment Setup...
Transcript of KOTLIN - Sevenmentor Pvt. Ltd · 2019-08-19 · Kotlin - Overview Features Environment Setup...
KOTLINKOTLIN
www.sevenmentor.com
www.sevenmentor.com
Kotlin - Overview
FeaturesEnvironment SetupEditingCompilingand RunningExecute for Android Kotlin Basics
Basic TypesDening local variablesCommentsFunctionsPackages and ImportsIf ExpressionWhen ExpressionFor LoopsWhile LoopsBreak and continue Loop OOP’s in Kotlin
Object Oriented ProgrammingAssociationCompositionAggregation InheritanceLists Sets and MapsInterfaces and ImplementationDesign by ContractClasses and ObjectsConstructorsstatic methodspublic private internal protected classmethods ObjectsDelegation
www.sevenmentor.com
Functional Programming in Kotlin
Functions as objectsCreating and returning functionsNested functionsDynamic functionsAnonymous(lambda) functionsUnit returning functionsInline FunctionsExtension FunctionsCouroutinesDictionary and Set ComprehensionsCollection interconversion patterns Kotlin JavaScript Interaction
Calling JavaScript from KotlinCalling Java from KotlinCalling Kotlin from JavaTools in Kotlin Other
Destructuring DeclarationsCollectionsRangesType Checks and CastsThis expressionsEqualityOperator overloadingNull SafetyExceptionsAnnotationsReectionType-Safe BuildersDynamic Type