A summary of the beginner experience of Java

Source: Internet
Author: User

For a beginner, the first impression of Java is very tall, not only can do mobile development, but also network programming can do database programming, more importantly, it is an object-oriented programming language, but it is not only a programming language, or a complete programming platform, It provides a large database for programmers, and it also includes drawing function, network connection function and database function.

Java's development company was originally released by The Sun Company A programming language, later because of Sun's poor business, was acquired by Oracle, the copyright of natural Java fell to Oracle company, through the development of Oracle company, the current Java is the latest 8.0.

One of the advantages of Java that is particularly important is that security is good, and that it can be operated across platforms, and it explains its portability, which is a feature that most other languages do not have.

Java's success reasons also include the following aspects, one is that it is object-oriented programming language, the second is to abandon all easy to get the programmer to develop bad habits of the characteristics, and naturally standardize the software engineering, the third is a high degree of abstraction of the computer, the need for professional knowledge, four is convenient exception handling, robust mechanism. Java also has a failure, for a programming language, I think the most failure is the Java execution speed is relatively slow, the source program needs to go through the compiler, and then by the Java interpreter to execute, because a section of the source program execution needs to go through many steps, so that the program execution speed is reduced.

Java can operate across platforms, but its development environment does have some advantages and disadvantages, its development environment is suitable for the development of large-scale programs, and the interface is simple and easy to use, but not suitable for the development of small programs.

To write Java programs, you must first install the development environment, we can first from the http://www.oracle.com/technetwork/java/ index.html Web site Download Java installation package, and then run, it is recommended that the installation directory do not change, directly installed on the C drive, the installation needs to set the environment variables, in the window System, in the system variable inside a new Java_home, The value of the variable is the directory where JAVA is installed, and then create a new classpath in the system variable, the value of the variable is,%java_home%\lib, and finally, you can create a new path variable inside the system variable, the value of the variable%java_home%\bin. Then open a command-line window, enter Javac-version, if the version number, the development environment to prove that the installation is successful, and vice versa, you need to reset the environment variables.

For learning a programming language, according to the previous learning experience, still need to knock code, after all, practice makes perfect, I think Java is no exception.

  

A summary of the beginner experience of 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.