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
Address: http://edu.51cto.com/course/course_id-513.html
Learn local Java version Jdk-8u25-windows-i586.exe
Eclipse version Eclipse-java-luna-sr1-win32.zip
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.
Src.zip//Source 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