Top Android Interview Questions and Answers-8

Welcome to part-8 of our Top Android Interview Questions and Answers series.

In our Top Android Interview Questions and Answers, we have covered a range of topics such as Android supported languages, toast messages, Android versions and more.
These questions will help you prepare for your Android developer job interview and increase your chances of success.


Which languages does Android support?

Android supports several programming languages, including: Java, Kotlin, C++, C#,

Java: Java is the primary language used for Android app development. It’s a popular programming language that’s known for its simplicity and ease of use.

Kotlin: Kotlin is a relatively new programming language that was introduced as an alternative to Java for Android app development. It’s designed to be more concise and expressive than Java, making it easier to write and maintain code.

C++: C++ is a high-performance programming language that’s used for developing Android apps that require a lot of processing power or low-level system access.

C#: Although not as widely used as Java and Kotlin, C# can also be used for Android app development with the Xamarin framework.

In addition to these languages, Android also supports scripting languages such as Python and Lua, although they are not commonly used for app development.


What is toast in Android, and why is it used?

In Android development, a Toast is a small message that pops up on the screen to display information to the user.

Toast messages are typically used to display short-lived messages such as notifications, warnings, or simple feedback to the user.

Toast messages are useful in Android development because they provide a simple way to display information to the user without requiring the creation of a new activity or dialog box. They can be used to provide feedback to the user when an action is completed, or to display an error message when something goes wrong.

To create a Toast message in an Android app, you can use the Toast.makeText() method, which takes three arguments: the context of the app, the message to display, and the duration of the message. Once the Toast message is created, you can display it on the screen using the show() method.

Overall, Toast messages provide a simple and unobtrusive way to display information to the user in an Android app, making them a valuable tool for developers.


What is the latest version of Android?

The latest version of Android is Android 13, with a code name and version number of 13.0. It was released on August 15, 2022.

What is the history of all the Android versions?

Android VersionCode NameRelease Date
1.0N/ASeptember 23, 2008
1.1Petit FourFebruary 9, 2009
1.5CupcakeApril 27, 2009
1.6DonutSeptember 15, 2009
2.0 – 2.1EclairOctober 26, 2009
2.2 – 2.2.3FroyoMay 20, 2010
2.3 – 2.3.7GingerbreadDecember 6, 2010
3.0 – 3.2.6HoneycombFebruary 22, 2011
4.0 – 4.0.4Ice Cream SandwichOctober 18, 2011
4.1 – 4.3.1Jelly BeanJuly 9, 2012
4.4 – 4.4.4KitKatOctober 31, 2013
5.0 – 5.1.1LollipopNovember 12, 2014
6.0 – 6.0.1MarshmallowOctober 5, 2015
7.0 – 7.1.2NougatAugust 22, 2016
8.0 – 8.1OreoAugust 21, 2017
9.0PieAugust 6, 2018
10.0Android 10September 3, 2019
11.0Android 11September 8, 2020
12.0Android 12October 4, 2021
13.0Android 13August 15, 2022
android versions-2023

It’s great to know that we have reached parts 1 to 8, covering a wide range of Android interview questions and answers.
If you come across any unique questions during your interview, feel free to share them to assist others.

Leave a Reply