Home > Web Front-end > JS Tutorial > body text

Are Java and JavaScript closely related?

藏色散人
Release: 2023-01-04 09:35:49
Original
4333 people have browsed it

Java and JavaScript are not related, they just have similar names; Java is an object-oriented programming language, a back-end language, and JavaScript is a literal scripting language, a dynamic type, weak Type, prototype-based language, belongs to front-end language.

Are Java and JavaScript closely related?

The operating environment of this article: windows7 system, Java8.0&&javascript1.8.5 version, Dell G3 computer.

Java and JavaScript are not related. Java is a back-end language and JavaScript is a front-end language.

Java

Java is an object-oriented programming language that not only absorbs the various advantages of the C language, but also abandons the incomprehensible multiple inheritance and pointers in C and other concepts, so the Java language has two characteristics: powerful and easy to use. As a representative of static object-oriented programming languages, Java language perfectly implements object-oriented theory and allows programmers to perform complex programming with an elegant way of thinking.

JavaScript

JavaScript is a literal scripting language that is a dynamically typed, weakly typed, prototype-based language with built-in support for types. Its interpreter is called the JavaScript engine, which is part of the browser and is widely used in client-side scripting languages. It was first used on HTML (an application under Standard Universal Markup Language) web pages to add dynamic functions to HTML web pages. .

When many people see javascript, they always confuse it with java, because both have java. People who don’t know the language think that javascript is like the iPhone 5C, a “plastic” version of java. ;

Here I still want to recommend the editor’s web front-end learning group: 687958461. Whether you are a novice or an expert, I welcome everyone. I will share useful information from time to time, including one compiled by the editor myself. The latest web front-end information and zero-based introductory tutorials are welcome to both beginners and advanced friends. I will answer your questions when I am not busy.

But in fact, java and javascript have similar names, and javascript is also called ECMAScript. Therefore, the relationship between java and javascript is like Lei Feng and Leifeng Pagoda

[Recommended learning: javascript advanced tutorial

The above is the detailed content of Are Java and JavaScript closely related?. 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