Javascript is an object-oriented client-side scripting language developed from Netscape's LiveScript. Its main purpose is to solve the speed problems left by server-side languages, such as Perl, and provide customers with smoother browsing. As a result, it and Java are two different languages.
Java is an object-oriented programming language that has two characteristics: powerful functions and simple 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.
Java has the characteristics of simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multi-threading, and dynamics. Java can write desktop applications, Web applications, distributed systems and embedded system applications, etc.
JavaScript is a literal scripting language. It 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 in HTML (an application under the Standard Universal Markup Language) Used on web pages to add dynamic functions to HTML web pages.
Related learning recommendations: java basics
The above is the detailed content of What is javascript? What is the connection with Java?. For more information, please follow other related articles on the PHP Chinese website!