Java Learning Note 1

Source: Internet
Author: User

Basic course of-javase in layman's knowledge

Explains the basics of Java in depth. The history of Java, Java Basic syntax, arrays, classes and objects, inheritance and polymorphism, exceptions, paradigms, collections, streams and files, reflection, enumeration, auto-boxing, and annotations are presented. The basic syntax of Java is involved, and the three main features of Java object-oriented programming are introduced in detail.

-Encapsulation, inheritance and polymorphism, experience Java's exception handling mechanism through the writing and use of exceptions, experience the power of Java collections through object storage and retrieval, and experience with file reads and writes. Java support for I/O and experience the dynamic nature of the Java language through a reflection mechanism; class


Learn local Java version Jdk-8u25-windows-i586.exe

Eclipse version

Installation and environment debugging skip the talk.

Javac *.java//compiling Java source program

Java class name//execute Java bytecode file

public class HelloWorld {//helloworld class name public static void main (string[] args) {//Main method: The class can perform the key System.out.println (" Welcome everyone to learn the Java language!    "); Output content Information}}

Java is made up of classes. code

Developing Java requires a JDK, which requires JRE,JDK to contain the JRE.

Developer JDK

User JRE

Java calls the operating system through a virtual machine (JVM), the JVM is responsible for the memory allocation and memory release of the Java program (as well as the garbage collection mechanism noted), the class file is cross-platform, and the JVM needs to install a different JVM for different operating systems.

NetBeans is the most famous Java development platform in addition to eclipse

This article from "Crazy Words Crazy language" blog, declined reprint!

Java Learning Note 1

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: 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.