Java is the main programming language used in Android Development.
Java is a high-level programming language that was initially developed by James Gosling at Sun Microsystems in 1991. It’s currently maintained by Oracle Corporation and OpenJDK, following the company’s acquisition of Sun. Java runs on many platforms using both interpreter virtual machines (that compile code for each run) with just-in-time compilation to accelerate performance or it can be compiled into native machine code ahead of time like C++ and other languages.
It features automatic memory management; exception handling; concurrency support which uses monitors, semaphores, thread priorities etc.; threadsafe classes as well as numerous crosscutting concerns such as synchronization and reflection from loading objects dynamically without parsing source files during runtime.
The compiler targets an instruction set or virtual machine (VM) via a just-in-time compiler.