JAVA entry point to learn the basics 3

Finally, a basic course it

11.eclipse shortcut: crtl + d delete a row; alt + / auto-complete; crtl + 1 automatic error correction
Ctrl + / comments on the current line, and then cancel the annotation; crtl + shift + / multi-line comments

12. In view eclipse them how to access the property which is to see which method of access:
Press the ctrl key, move the mouse over to see elements appear underlined when clicked.
In addition Too many elements in a class, to quickly see, + O to search in the current class by crtl.

13.this can not write omitted in most cases.
this method can not be used with the static.

14. The method with a static access mode can not directly access instance variables and instance methods, and require the use of the class name. A. In fact, it can also be used to access the reference, but in fact nothing to do and when to perform the object reference points.

15. In addition to the members of the class there is a further special type of method, that is the constructor. Constructor is a class method with the same name, the object is created by the constructor completed. Whenever a class instance of the object class constructor is invoked automatically.

JavaSE trivial knowledge base on this to it! Interested partners, please continue to focus on small, follow-up will finish all the knowledge learned will learn a set of java. Watching the video and self-paced tutorial again read the better yo! Welcome to the comments below, I was a beginner, please exhibitions!

(This is written before, save for the draft, it is now made public, would add more detail later)

Guess you like

Origin blog.csdn.net/fallwind_of_july/article/details/87986700