Java Fundamentals Learn

Source: Internet
Author: User

Today, just beginning to learn Java, in addition to what the teacher said, and further on the Internet to learn about the following Java related knowledge:

The main features of the Java language:

1. Cross-platform
The so-called cross-platform, the software can be free from the computer hardware and operating system constraints and in any computer environment, normal operation. This is the trend of software development and the goal that programmers pursue. The reason for this is that because of the variety of computer hardware, operating systems are different, users and companies have their own different computer environment preferences, and software in order to be able to operate in these different environments, it needs to be independent of these platforms.
In the Java language, Java-brought virtual machines are a good way to achieve cross-platform. Java source code compiled after the generation of binary bytecode is platform-independent, but can be recognized by the Java Virtual Machine code instructions. Java virtual machines provide a barrier to the underlying hardware platform and operating system, making the Java language cross-platform.

2. Object-oriented
Object-oriented refers to the object as the basic granularity, which contains properties and methods. The description of the object is expressed in attributes, and the object is manipulated by using a method. Object-oriented technology makes application development easy to use and saves code. Java is an object-oriented language and also inherits many of the benefits of object-oriented, such as code extension, code reuse, and so on.

3. Security
Security can be divided into four levels, namely, language-level security, compile-time security, run-time security, executable code security . Language-level security refers to the data structure of Java as a complete object, which has security over the encapsulated type Compile-time Java language and semantic checks to ensure that each variable corresponds to a corresponding value, compiled after the Java class. The runtime Java class requires the ClassLoader to be loaded and verified by the bytecode checker before it can run. When a Java class is used on a network, its permissions are set to ensure the security of the user being accessed.

4. Multithreading
Multithreading has been the most successful application in the operating system. Multithreading refers to allowing an application to have two or more threads at the same time to support transactional concurrency and multi-tasking. In addition to the built-in multithreading technology, Java defines classes, methods, and so on to establish and manage user-defined multithreading.

5. easy to use
Java source code is written in a specific environment, you can use Notepad, text editor and other editing software to implement, and then compile the source files, compiled through the direct operation, through debugging can get the desired results.

Java Fundamentals Learn

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.