Home  >  Article  >  Java  >  What is the difference between java and android?

What is the difference between java and android?

青灯夜游
青灯夜游Original
2019-11-16 17:57:487221browse

What is the difference between java and android?

What is Android?

Android is a language based on Java. Android is used to develop mobile apps. To learn Android, you need to learn the basic syntax of Java first.

Simply put, one is the operating system and the other is the development language. Specifically, Android is a Linux-based open source operating system mainly used in portable devices (smartphones, tablets). Java is an object-oriented programming language. Its biggest feature is that it is open source and free. Because of this, most large-scale software systems in China are developed in Java.

The applications on the application layer of Android are written in Java and use Java as the development language. However, Java is not the same as Android because the Android SDK references most of the Java SDK and a few Partially abandoned by the Android SDK. Therefore, if you want to engage in Android development, you must have a Java foundation. In addition, the Android Java development environment can be built in the Windows system, so that the Android project can be tested in the Windows system.

Android development and JAVA are complementary to each other. JAVA provides a development language environment for Android, and Android development is implemented through the JAVA language.

The difference between java and Android

Overall, the difference between java and android is that the android program is based on components and configuration, and android development is based on The Java language is a development tool. On the surface, they appear to be of the same origin, but in fact they are very different. Android is a mainstream smartphone operating system, and Java is a development language. There is no good or bad distinction between the two, and both are also Different positions, from the perspective of job positions, Android is engaged in the direction of mobile Internet, and Java is engaged in development.

Android development is a branch of java development. Some of the class libraries in android are basically the same as the java class library, that is, the class names are the same. However, the swing class libraries in java are not available in android. In other words, the Android version only uses the commonly used class libraries of the Java version.

The above is the detailed content of What is the difference between java and android?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn