Home >Web Front-end >Front-end Q&A >Is javascript a java program?
javascript is not a java program. Because JavaScript is a dynamically typed programming language used to display various effects on the client, and Java is the basic statically typed programming language on computers and servers, JavaScript is not a Java program.
The operating environment of this tutorial: Windows 10 system, JavaScript version 1.8.5, Dell G3 computer.
JavaScript is not a java program.
Java and Javascript are both different types of applications
Java is generally:
A powerful computer programming language. It is an independent computing platform for building software applications. It treats each item as an object and a class. Java compiles bytecode with a .class extension.
JavaScript is:
A lightweight, dynamic computer programming language. It's easy to use rather than user-friendly. Javascript is used to make web pages more attractive. Also called a scripting language.
Javascript and java are different. Although Java and javascript are both programming languages, they are two completely different language architectures.
Java is a new generation of object-oriented programming language and a programming language launched by SUN Company, which is particularly suitable for Internet application development. It is an interpreted language with syntax rules similar to C.
JavaScript is a product of Netscape. Its purpose is to extend the functions of Netscape Navigator and develop an object-based and event-driven interpreted language that can be embedded in Web pages; it is a compliance with the ECMA 262 language specification. A realization.
[Related recommendations: javascript video tutorial, web front-end】
The above is the detailed content of Is javascript a java program?. For more information, please follow other related articles on the PHP Chinese website!