F
F
Frel2016-02-09 13:15:41
Java
Frel, 2016-02-09 13:15:41

What is the version of java in android?

What version of java is used in android development, and which one to learn?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Deadkenny, 2016-02-09
@Deadkenny

On Android Java 7, but can be upgraded to Java 8 using third party libraries. You can also write in Kotlin and Scala.

A
Alexander Dorofeev, 2016-02-09
@TechCloud

I agree with the user Deadkenny , but I want to add:
1) At the beginning , Android only supported version 6 of Java, but in 2013,
with the release of a new version of Android Studio , it was also possible to
use Java 7 .
2)

but can be upgraded to Java 8 with 3rd party libraries

This is not entirely true. Formally, this is achieved by recompiling byte code from Java 7 to 8.
This is done using the Retrolambda libraries (lambda expressions + partially default methods) + streamsupport (Stream Api)
3) Google also plans to release Android N switch to OpenJDK and add support for Java 8.
It doesn't matter which version to learn. Only some points will differ.
I recommend reading this wonderful book , then of course "Thinking in Java",
well, and then, if you want to study this material about the possibilities of Java 8. All three have originals in English.

A
Andrey Lubchuk, 2016-02-09
@AngelX96

Java 8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question