Jump to content

Comparison of Java and Android API

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 117.253.186.39 (talk) at 04:32, 6 February 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This article compares the Java and Android API and virtual machines.

While most Android applications are written in Java, there are many differences between the Java API and the Android API, and Android does not use a Java Virtual Machine but another one called Dalvik.

Android's Process Virtual machine

There is no Java Virtual Machine in the Android platform. Java byte code is not executed. Instead Java classes are compiled into Dalvik executables and run on Dalvik, a specialized virtual machine (VM) designed specifically for Android. Unlike Java VMs, which are stack machines, the Dalvik VM is a register-based architecture.


| accessdate=2011-09-03}}</ref>

See also

References