The difference between Android and Java
Overall, the difference between Java and Android is that Android programs are based on components and configuration, and Android development uses the Java language as 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 difference between the two, and they are also different positions. From the perspective of job positions, Android is engaged in the direction of mobile Internet, and Java is engaged in the development direction.
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.
Detailed introduction:
1. Android is a language based on java. Android is used to develop mobile APPs. Learning Android requires First learn the basic syntax of java.
2. 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.
3. Applications on the application layer of Android are written in Java and use Java as the development language. However, Java is not equivalent to Android because the Android SDK references most of the Java SDK. , a few parts were 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.
4. 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.
php Chinese website, a large number of free Java introductory tutorials, welcome to learn online!
The above is the detailed content of The difference between Android and Java. For more information, please follow other related articles on the PHP Chinese website!