The relationship between JavaScript and Java

Source: Internet
Author: User

Let's talk about JavaScript and Java in a simple and detailed way today.

The relationship between Lei Feng and Leifeng Tower, in other words: there is no relation between them.

But often there are a lot of beginners and even intermediate people think that they have a close relationship, this is very silent.

personally, if you do not distinguish clearly, the better the Java learning Beginner, JavaScript will learn the worse. It's hard to draw on a piece of paper because it's a good drawing on a blank sheet .

Comparison Javascript Java
Birth time 1995 1995
Used to have a name Mocha, LiveScript Oak
Parent company Netscape Corporation (USA) Sun Micro Systems Inc. (USA)
Main author Brendan Eich a man James Gosling and his small partners
Development completion Time 10 days One or two years
Is it object-oriented? Yes, based on prototype and prototype chain mode Yes, class-and inheritance-based approach
The programming style you can use Process-oriented, object-oriented, function-oriented Process-oriented, object-oriented, Java8 some features of function-oriented
Language type Dynamic language, weak type Static language, strongly typed
Can I use it for customer service development? Yes, mainly for browser-side Yes, but it's completely lost to Microsoft's Vs.net series in contention for desktop applications
Can I use it for mobile-side development? Yes, call the Web App Yes, call Android (Android)
What is the number of class libraries and frameworks? How is the community performing? Very much, very rich, very active More, more rich, more active
Now, master. All-day JavaScript open Source community Oracle Corporation (USA)
The difficulty of learning for beginners? It's not easy to get started, learn to be easy, learn to master Slow to get started, learning to be slow, learning to be proficient is not easy.
System structure Essentially streamlined, but now derived from the class library, the framework is more and more, people dizzying has always been relatively large and complex.
Is it cross-platform? Yes (almost all browsers in the world support, if not supported, almost no one to use) Yes (as long as the Java Virtual Machine installed on the computer can be run)
A compiled or interpreted type? Explanatory, but some common code can be compiled with cost-code First compiled into bytecode, then interpreted by the virtual machine execution
Which is more powerful? Can not be generalized to answer, JavaScript master than Java low hand powerful No general answer, Java Master lower hand than JavaScript powerful
Which is closer to H5? Javascript
Which do most schools in China teach? Java

The relationship between JavaScript and Java

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.