How does Android's Java version relate to a Java SE version?

后端 未结 1 1845
庸人自扰
庸人自扰 2020-11-27 18:19

I am constantly wondering how the Java version used for Android development relates to a Java SE version. For example, I was reading today about \"Type Inference and Generi

相关标签:
1条回答
  • 2020-11-27 18:45

    Android's version doesn't directly relate to Java SE, although it uses a subset of Apache Harmony's SE 6 libraries and tools. It will be up to the Android team to decide if & when to support/require the SE 7 version of Harmony.

    Edit It looks like as of KitKat Android supports Java SE 7 language features. See the comments below.

    0 讨论(0)
提交回复
热议问题