You will build an app that may look like the following:
UI representation of social media aggregator
And an application directory that will look like the following:
Application directory
You will build an app that may look like the following:
And an application directory that will look like the following:
In Kotlin, everything is an object. Kotlin has pretty much the same number of related data types compared to Java. But they are not exactly the same.
In Java, the following is true:
int num=10;
double bigNum=num;
But in Kotlin if you try to do such a thing it will give a compile-time error. This means implicit widening is not allowed in Kotlin. However, the main thing we want to discuss in this section is, with every number type Kotlin supports some explicit conversion...