Java Core Technology (8th Edition) Learning Notes _ Overview __java

Source: Internet
Author: User
Tags garbage collection
1th Chapter Java Programming Overview 1. About Java Java
Java is a complete platform with a large library that contains a lot of reusable code and an execution environment that provides services such as security, portability across the operating system, and automatic garbage collection. . NET platform also relies on virtual machine dependencies for specific implementations
The Java specification does not have a "dependency-specific implementation", unlike C and + +. The size of the base data type and the algorithms are clearly described. For example, an int in Java is always 32 bits. Applet
Running a Java program in a Web page is called an applet. Today, most Web pages use JavaScript or flash directly when you need to display dynamic effects in a browser. Running Speed
Early Java was an interpretive type. Now, in addition to the "micro" platform such as mobile phones, Java virtual machines use an instant compiler, so the Java-written "hot" code to run the same speed as C + +.
Java has some extra overhead that C + + does not have. Virtual machines have a slower startup time, and the Java GUI is slower than the local GUI because they take a platform-independent approach to drawing. JavaScript is a scripting language that is used in Web pages.
Related Article

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.