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

后端 未结 1 1857
庸人自扰
庸人自扰 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)
提交回复
热议问题