First knowledge of Java

Source: Internet
Author: User

Java Development prelude

Java is an object-oriented programming language launched by Sun Microsystems that spans multiple platforms and has high portability. You can use Java to write desktop applications, web applications, distributed systems, and embedded system applications. Java is known as the "best computer language ".

Java Introduction

What is Java?

 

Java was a very creative object-oriented programming language launched by Sun in 1995. It was designed by Dr. James goshilin, the father of Java. As an academician of Sun Research Institute, James goshilin personally designed the Java language and completed the original compiler and Virtual Machine of Java technology. Java was originally named Oak and renamed Java in 1995.

 

Java is a language that is executed in an interpreted way. Its syntax rules are similar to those of C ++. At the same time, Java is also a cross-platform programming language. Programs Written in Java can run on any platform or device, such: it can span IBM PCs, Mac Apple systems, various microprocessor hardware platforms, as well as windows, UNIX, OS/2, Mac OS, and other system platforms to truly implement "one-time writing, run everywhere ". Java is very suitable for enterprise networks and Internet environments, and has become one of the most influential and popular programming languages on the Internet.

 

Programs Written in Java are both compiled and interpreted. After the program code is compiled, it is converted into an intermediate language called Java bytecode. the Java Virtual Machine JVM will explain and run the bytecode. Compile the program only once, but explain it every time you run the program. The compiled bytecode is saved as a JVM-optimized machine code. The VM interprets the bytecode as a machine code and runs it on the computer.

 

Java advantages over other languages

1. Free

Compared with Java itself, Java API is a valuable free fortune. Application Programming Interface (Application Programming Interface) is a number of predefined functions to provide applications and developers with the ability to access a group of routines based on a software or hardware, without accessing the source code or understanding the details of the internal working mechanism.

2. cross-platform

Java systems can run on different operating systems and hard disks. Because Java is cross-platform, Java APIs are naturally unified on the platform. For programmers, there is no such thing as a unified API function. Java API, regardless of the operating system, can be written once and run everywhere.

3. received academic support

4. mobile app

Java features

 

Java application fields

1. embedded devices and consumer electronic products

2. office automation and e-commerce

3. Enterprise Information

4. Auxiliary Teaching

 

Java syntax features

1. Simple

2. Object-oriented

3. Distribution

4. Portability

5. Interpretation

6. Security

7. robustness

8. Multithreading

9. High Performance

10. Dynamic

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.