Book Image

Learn Kotlin by Developing Android Apps [Video]

By : Brandan Jones
Book Image

Learn Kotlin by Developing Android Apps [Video]

By: Brandan Jones

Overview of this book

<p>Kotlin has been making waves ever since it was open sourced by JetBrains in 2011; it has been praised by developers across the world and is already being adopted by companies. This video provides a detailed introduction to Kotlin that shows you all its features and will enable you to write Kotlin code to production. We start with the basics: get you familiar with running Kotlin code, setting up, tools, and instructions that you can use to write basic programs. Next, we cover &nbsp;object oriented code: functions and properties – all while using Kotlin’s new features.</p> <h1>Style and Approach</h1> <p>Practical, project-based approach</p>
Table of Contents (7 chapters)
Chapter 6
Integrations
Content Locked
Section 5
Overriding toString()
When a Java program wants to represent a Java object, it will invoke a function named toString(). If you don't override this function, you'll see a String representation of the object that doesn't necessarily make sense. - What happens when we don't override toString - Where is toString defined - Override toString and see the results