2.Java Basic Concepts

Source: Internet
Author: User
1.java 3 Large features encapsulation, inheritance, polymorphism.   Encapsulation: Tag your instance variable as private (private), and provide public getter and setter to control access action, in fact, data hiding.              Polymorphism: Three elements of polymorphism, inheritance, override, parent class reference to child class object.              The reason to achieve polymorphism is to do before the words die, an object has multiple faces, blurred a little imagination space, concrete time to materialize. Is the multiple states that the same thing shows.
2. Environment Variables The basic parameter environment variables that are used in the OS to specify OS runtime are run as key-value pairs. PATH environment variable: OS external command search path CLASSPATH environment variable: class file search path such as Java Hello3.JDK in the previous section The files in the installed folder are bin-executable include-c language Jre-java runtime Environment (Java Virtual machine JVM, Java platform Core class file, other supporting environment) lib-run-time package file Src-java JDK part source file 4. the first version of the JDK version was Java 1.021.2, 1.3, 1.4, called Java 2, from the 1.5 version called Java 5.0, now out to Java8.

From for notes (Wiz)

2.Java Basic Concepts

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.