Home  >  Article  >  Web Front-end  >  What are javase and JavaScript

What are javase and JavaScript

青灯夜游
青灯夜游Original
2022-03-01 11:59:404289browse

javase refers to "Java Standard Edition", which is an indispensable environment for running JAVA programs. It is used to develop and deploy Java applications used in desktop, server, and real-time environments. JavaScript is a cross-platform interpreted, weakly typed scripting language that is commonly used to add a variety of dynamic functions to web pages.

What are javase and JavaScript

The operating environment of this tutorial: windows7 system, javascript1.8.5&&java8 version, Dell G3 computer.

What is javase

JavaSE was formerly known as J2SE, the full name is Java Standard Edition, which is translated into Chinese as Java Standard Edition. Sun launched Java Platform Standard Edition; it is an indispensable environment for running JAVA programs and is also the core of Java. Various subsequent frameworks and products are all based on JavaSE, which means that JavaSE is the foundation for the upward development of Java. The underlying foundation of any advanced Java products is JavaSE, so if you want to learn, it is necessary to learn it solidly and firmly. of.

JavaSE is used to develop and deploy Java applications for use in desktop, server, embedded and real-time environments. Java SE contains classes that support Java Web services development and provides the foundation for Java Platform, Java EE (Java Enterprise Edition), and Java ME (Java Micro Edition).

What is JavaScript

JavaScript is a dynamically typed, weakly typed, prototype-based language. 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 web pages to add dynamic functions to HTML web pages.

JavaScript is a network scripting language that has been widely used in Web application development. It is often used to add various dynamic functions to web pages to provide users with smoother and more beautiful browsing effects. Usually JavaScript scripts realize their functions by embedding them in HTML.

JavaScript is a cross-platform interpreted language that does not require pre-compilation and can run under various operating systems.

What JS can do

JavaScript can be used in various fields of web development, such as:

  • Web application development: The web pages we browse in daily life are composed of HTML, CSS, and JavaScript. JavaScript can update the styles of elements in the web page in real time, and enable interaction between people and web pages (such as monitoring whether the user clicks the mouse or presses the button). Press a certain button, etc.), you can also add some cool animations to the web page; [Related recommendations: javascript learning tutorial]

  • Mobile application development: In addition to web application development, JavaScript can also be used to develop applications on mobile phones or tablets, and we can also use some excellent frameworks (such as React Native) to make development easier;

  • Web games: The small games we have played on the web can all be implemented using JavaScript;

  • Back-end Web application development: In the past, we all used JavaScript To develop the front-end part of a Web application, but with the emergence of Node.JS (a JavaScript runtime environment), JavaScript can also be used to develop the back-end part of a Web application.

The similarities and differences between java and javascript

The similarities between Java and JavaScript include :

  • ##Their syntax is very similar to the C language;

  • They are all object-oriented (although the implementation The method is slightly different);

  • JavaScript was designed with reference to Java’s naming rules;

The difference between Java and JavaScript The points include:

##JavaScript is a dynamically typed language, while Java is a statically typed language;
  • JavaScript is weak Type, Java is strongly typed;
  • JavaScript’s object-oriented implementation is based on prototype (prototype-based), and Java is based on class (class-based);
  • For more programming related knowledge, please visit:
  • Programming Video
! !

The above is the detailed content of What are javase and JavaScript. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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