Sharing Excellence: 11 Features of Java programming

Source: Internet
Author: User

  Java programming is a simple, object-oriented, distributed, interpreted, robust, secure, structure-neutral, portable, high-performance, multi-threaded static language relative to other programming languages.  For starters, these characteristics you must know! Wuhan Java training teacher simple to tidy up some Java features, I hope that you in the study on the way to help.  Like Java's small partners, can pay attention to the soft excellent Java training institutions, soft excellent Java training 0 Basic classes are now open for free learning, for students who want to learn Java is good news, personally inspected the teaching quality, may wish to register to see. Java programming features the Java language is a simple Java language syntax that is very close to the C and C languages, making it easy for most programmers to learn and use Java. Java, on the other hand, discards those features that are seldom used in C, which are difficult to understand and confusing, such as operator overloading, multiple inheritance, and automatic coercion of type conversions.  In particular, the Java language does not use pointers and provides automatic scrap collection, which makes it unnecessary for programmers to worry about memory management. Java programming features the Java language is an object-oriented Java language that provides primitives such as classes, interfaces, and inheritance, and for simplicity only supports single inheritance between classes, but supports multiple inheritance between interfaces and supports the implementation mechanism between classes and interfaces (the keyword is implements). The Java language fully supports dynamic binding, while the C language uses dynamic binding only for virtual functions.  In short, the Java language is a purely object-oriented programming language. Java programming features the Java language is the development of the distributed Java language to support Internet applications, and in the basic Java application programming interface There is a network application programming interface (Java NET) that provides a class library for network application programming, including URLs, URLs Connection, sockets, Server sockets, and so on.  The RMI (remote method Activation) Mechanism of Java is also an important tool for developing distributed applications. Java programming features Java language is a robust Java strong type mechanism, exception handling, scrap automatic collection, etc. is the Java program is an important guarantee of robustness. Discarding pointers is a wise choice for Java.  Java's security check mechanism makes Java more robust. Java programming features the Java language is secure Java is typically used in a network environment, and for this reason, Java provides a security mechanism to prevent malicious code from attacking. In addition to many of the security features of the Java language, Java has a security mechanism (class Loader) for classes downloaded over the network, such as assigning different namespaces to prevent substitution of local classes with the same name, byte code checking, and providing a security management machineSecurity Manager allows Java applications to set up secure Sentinel. Java programming features the Java language is an architecture-neutral Java program (a file that is suffixed with Java) that is compiled into an architecture-neutral bytecode format (a file with a suffix of Class) on the Java platform and can then be run on any system that implements the Java platform.  This approach is suitable for heterogeneous network environment and software distribution. Java programming features the Java language is portable and this portability comes from architecture neutrality, and Java also strictly prescribes the length of each basic data type.  Java system itself is also very strong portability, Java compiler is implemented in Java, Java operating environment is implemented with ANSI C. Java programming features the Java language is interpreted as described earlier, Java programs are compiled into bytecode format on the Java platform and can then be run on any system that implements the Java platform.  At runtime, these bytecode are interpreted by the Java interpreter in the Java platform, and the classes required during execution are loaded into the runtime environment during the join phase. Java programming features Java is high performance compared to those advanced scripting languages that are interpreted, Java is really high performance.  In fact, the speed of Java is getting closer to c with the development of JIT (just-in-time) compiler technology. Java programming features the Java language is multithreaded in the Java language, a thread is a special object that must be created by the thread class or its child (grandchild) class. There are usually two ways to create a thread: one is to wrap an object that implements the Runnable interface into a thread using a constructor of type thread (Runnable), and another to derive a subclass from the thread class and override the Run method, and the object created with that subclass is a thread. It is important to note that the thread class has implemented the Runnable interface, so any thread has its run method, and the Run method contains the code that the thread wants to run. The activity of a thread is controlled by a set of methods.  The Java language supports simultaneous execution of multiple threads and provides a synchronization mechanism between multithreading (the keyword is synchronized). Java programming features the Java language is one of the design goals of the dynamic Java language that adapts to the dynamic changing environment. The classes required by the Java program can be dynamically loaded into the runtime environment, or they can be loaded into the network to load the required classes. This also facilitates software upgrades.  In addition, classes in Java have a run-time representation that enables type checking at run time. For more information about Java, please pay attention to the website of soft excellence!

Sharing Excellence: 11 Features of Java programming

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.