Home > Java > Javagetting Started > body text

Can Java make games?

Guanhui
Release: 2020-06-09 10:59:13
Original
4186 people have browsed it

Can Java make games?

Can Java make games?

Java can make games, usually mobile games. Computer games are generally written in C/C. If you want to learn Java to make mobile games, you can learn to write J2ME. J2ME is for set-top boxes. , Java language platform provided by mobile phones and embedded consumer electronics devices, and provides a series of standardized APIs.

J2ME

Java ME (Java 2 Micro Edition) is a component of Java 2 and is also known as J2SE and J2EE. Compared with J2SE and J2EE, the overall operating environment and goals of JAVA ME are more diverse, but the purpose of each product is more single, and the resource restrictions are more stringent. In order to achieve standardization and compatibility while trying to meet the needs of different aspects, the architecture of JAVA ME is divided into Configuration, Profile and Optional Packages (optional packages). Their combination and trade-off form a specific operating environment.

Configuration is mainly a vertical classification of devices. The classification is based on storage and processing capabilities, which defines virtual machine characteristics and basic class libraries. The standardized Configurations include Connected Limited Device Configuration (CLDC) and Connected Device Configuration (CDC).

Profile is built on Configuration and together constitute a complete operating environment. It classifies devices horizontally and targets market segments in specific fields. The content mainly includes class libraries and APIs for specific purposes. The profiles that have been standardized on CLDC include Mobile Information Device Profile (MIDP) and Information Module Profile (IMP), while the profiles that have been standardized on CDC include Foundation Profile (FP), Personal Basis Profile (PBP) and Personal Profile (PP).

Optional packages provide additional, modular and more diverse functionality independent of the previous two. Standardized optional packages include database access, multimedia applications, Bluetooth and more.

Recommended tutorial: "Java Tutorial"

The above is the detailed content of Can Java make games?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template