Fortune Telling Collection - Fortune-telling birth date - Java language fortune telling _java fortune telling system

Java language fortune telling _java fortune telling system

What kind of programming language is java?

The classification needs to be determined from what angle.

1. From the language level, java is a high-level language, which needs to be compiled into bytecode to run.

2. From the perspective of language design, java is an object-oriented language, which regards everything as an object and has the characteristics of encapsulation, inheritance and polymorphism.

3. From the execution process, java is a mixed language. Java is compiled into bytecode first, and then interpreted and executed in JVM (compilation language needs to be compiled into machine code by compiler to be executed, such as C, c++;+; +; Explanatory language, no need to compile, line by line translation when running the program, such as JavaScript, python).

4. As far as runtime data types are concerned, java is a statically typed language, or a strongly typed language. Its data type is determined at compile time or before running. When defining a variable, you need to specify its data type explicitly. If you don't cast, its type will not change.

Generally speaking, java is a strongly typed and object-oriented mixed high-level programming language.