
Discover how Kotlin powers Android development, interoperates with Java, and runs on the JVM, Android, JavaScript, and native platforms, with concise, safe, and interoperable features.
Learn to install Java JDK and IntelliJ IDEA on Windows, verify the Java installation via the command prompt, and prepare Kotlin to run on the Java Virtual Machine.
Install Java JDK on Mac to enable Kotlin execution on the JVM, verify java installation in Terminal, and install the IntelliJ IDEA Community edition for Kotlin development.
Launch a Kotlin/JVM project in IntelliJ IDEA, write your first Kotlin program with a main function, print 'Hello Kotlin', and note semicolon isn't required.
Explore how Kotlin runs on the Java Virtual Machine, showing why a class declaration isn’t needed for main and how Kotlin and Java compare in code and bytecode.
Learn basic Kotlin syntax by writing comments and declaring variables with var and val; explore inline and multiline comments, type inference, mutable versus immutable variables, and printing values.
Explore defining and calling functions in Kotlin, printing static and dynamic names, using parameters and arguments, and creating a User class with an object to access the displayName method.
See how Kotlin creates separate object copies of the User class and use string interpolation with ${userObj.name} to embed member values in strings.
Organize Kotlin files by creating a new package and moving the User class into its own file. Define a constructor, import it, and read user input with readLine.
Learn how Kotlin uses var for mutable variables and val for immutable constants, and explore common data types from Boolean to Double, with type inference and literal syntax.
Practice declaring and printing Kotlin variables in Intellij IDEA, compare var and val for mutable and immutable values, and learn Kotlin data types and type inference.
Explore Kotlin string templates and string literals, replacing concatenation with interpolation using the $ sign and braces for expressions, with practical examples.
Master Kotlin string literals by comparing escaped strings and raw strings, and apply trimMargin and string templates to print variables exactly as written.
Master Kotlin ranges using the double dot operator to create numeric and character ranges, control their step, switch between ascending and descending orders, and use ranges in for loops.
Explore Kotlin control flow by turning the if statement into an expression that returns a value, using max as the example and applying proper braces and else rules.
Explore how when as expression replaces switch in Kotlin, handling branches, ranges, not-in-range checks, and a mandatory else clause, returning values for assignments.
Explore loops in Kotlin by using for, while, and do while to print sequences like 1 to 200, using ranges such as 1..200 and a counter variable.
Practice loops in Kotlin using for, while, and do-while to print even and odd numbers from 1 to 10, exploring range expressions, i remainder checks, and iteration behavior.
Explore Kotlin loop control statements including break, continue, and labeled breaks to control outer and inner loops, with practical examples of printing and conditional termination.
Learn how to define and call Kotlin functions using the fun keyword, specify parameters and return types like int and unit, and use when to perform arithmetic operations in main.
Explore how Kotlin uses expression bodies to simplify functions, turning subtraction into a one-line return-free expression using if-else and type inference.
Explore named arguments in Kotlin, using describeHuman with four parameters and swapping call order while preserving output. Learn how default values work and why Java interoperability limits named arguments.
Explore how Kotlin extension functions add new behavior to existing classes without modifying their bodies, demonstrated on Car and predefined types like Int.
Kotlin infix functions are member or extension functions with a single parameter, marked with the infix keyword, enabling cleaner calls like 1 plus 2.
Discover tail recursive functions in kotlin and how the tailrec modifier enables optimized recursion for factorials, avoiding stack overflow and using BigInteger for large results.
Explore Kotlin tail recursive techniques with BigInteger, computing giant factorials and preventing stack overflow by using tailrec-optimized recursion.
Learn how Kotlin defines classes with a primary constructor and init block to initialize properties, demonstrated by an Animal example with a name.
Explore how Kotlin uses secondary constructors with the primary constructor, showing delegation via this and the constructor keyword, property initialization, and how color and name are assigned in Animal class.
Learn how inheritance works in Kotlin by creating a base animal class, marking it open, and deriving Lion, Deer, and Tiger with shared properties such as color, legs, and eat.
Master method overriding in Kotlin by using open and override, invoking super, and tailoring playVideo in Samsung and Nokia subclasses of Phone.
Explore property overriding in Kotlin by contrasting Phone and SamSung classes, using open and override modifiers to change the brand property, and observe outputs 'Phone' then 'SamSung'.
>> Develop skills in Kotlin from scratch, become a pro developer and explore the world of software development.
>> Expand your expertise as a JVM/Android/Browser/Native Developer and improve the quality of your code!
>> Write less number of code and get more output.
>> No more null pointer Exceptions and Boilerplate code.
We will begin with very basics and step into intermediate and advanced level so that the beginners get a good grab over the language.
The course goes on as:
Give us the review and feedback to improve the course.
Once you understand the concept of OOPs explained here for Kotlin, this basic paradigm being same for all other languages, you can master others too! (Java, PHP, C#, C++)
This course will be shaped as you want it to be. There will be more contents based on your reviews and feedback. Help this start reach heights with your valuable opinions.