Generally speaking, the difference between java and android is that android programs are based on components and configurations, and android development uses java language as a development tool. On the surface, they appear to be from the same sect. , but in fact the difference is very big. Android is a mainstream smartphone operating system, and Java is a development language. There is no good or bad distinction between the two, and they are also different positions. From the perspective of job positions, Android is engaged in Mobile Internet direction, Java is engaged in development direction.
Although Android uses the Java language as a development tool, it is found in actual development that it is still somewhat different from the Java SDK. The Android SDK references most of the Java SDK, and a few parts are abandoned by the Android SDK. For example, in the interface part, the java.awt package is abandoned except for the reference of java.awt.font, and cannot be used in Android platform development. In the process of porting Java games to the Android platform, the difference between the Android SDK and the Java SDK is something that needs to be paid attention to.
PHP Chinese website has a large number of free JAVA introductory tutorials, everyone is welcome to learn!
The above is the detailed content of What is the difference between android and java. For more information, please follow other related articles on the PHP Chinese website!