Home  >  Article  >  Java  >  What is the difference between Java's static language and dynamic language?

What is the difference between Java's static language and dynamic language?

WBOY
WBOYforward
2023-05-07 16:34:091264browse

1. Dynamic language, A language whose structure can be changed during operation, such as JavaScript, PHP, and Python.

For example, new functions, objects, and codes can be introduced, existing functions can be deleted, or other structural changes can be made. Generally speaking, runtime code can change its own construction based on conditions.

Main dynamic languages: Objective-C, C#, JavaScript, PHP, Python, etc.

Static language

2. Corresponding to dynamic language, the language whose structure does not change during runtime is static language.

For example, Java, c, C.

Java is not a dynamic language, but Java can be called a quasi-dynamic language. In other words, Java has a certain degree of dynamics and can use the reflection mechanism to obtain characteristics similar to dynamic languages. The dynamics of Java make programming more flexible.

What are the commonly used java frameworks

1. SpringMVC, Spring Web MVC is a lightweight Web framework based on Java that implements the request-driven type of Web MVC design pattern.

2.Shiro, Apache Shiro is a security framework for Java.

3.Mybatis, MyBatis is an excellent persistence layer framework that supports ordinary SQL queries, stored procedures and advanced mapping.

4.Dubbo, Dubbo is a distributed service framework.

5.Maven, Maven is a project management and build automation tool.

6.RabbitMQ, RabbitMQ is a high-concurrency and high-reliability AMQP message queue server implemented in Erlang.

7.Ehcache, EhCache is a pure Java in-process caching framework.

The above is the detailed content of What is the difference between Java's static language and dynamic language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete