Java learning – you should have a mind map

Java learning - you should have a mind map

In addition to understanding some of its principles and usages, I think there is one more important thing to do.

The following is my own finishing on the Java study of the mind map, share out hope to help all of us in the process of learning Java, and I will be in each mind map appended notes. Of course, mind maps will be updated in the later stages.

The mind mapping tool used in this paper is the screen.

  • Java basic knowledge of entry,
    , Java learning - you should have a mind map,
    , Java entry Basics

Java basic knowledge entry notes address

  • Keyword
    because the diagram can not be put, put two maps, and I hope you forgive me.
    Java learning - you should have a mind map
    keyword 1
Java learning - you should have a mind map
keyword 2


Keyword note address

  • Classes and objects (here are also two pictures)
Java learning - you should have a mind map
class and object 1

Java learning - you should have a mind map
class and object 2


Class and object note address

  • Object oriented (two diagrams)
Java learning - you should have a mind map
object oriented 1
Java learning - you should have a mind map
object oriented 2

Object oriented note address

  • abnormal
Java learning - you should have a mind map
exception


Exception note address

  • Java array
Java learning - you should have a mind map
Java array 1

Java learning - you should have a mind map
Java array 2


Java array notes

其中,冒泡排序法还是挺重要的,把代码放下面,希望大家能稍微重视一下:

Public static void main (String[] args) {int[] arr={1,2,3,4,5}; for (int i=1; i< arr.length; i++) {// outer loop control the number of times; Boolean flag=true; / / mark scalar; per trip before the initial value of for (int true; j=0; j< arr.length-i; j++) {// inner loop to compare elements; if (arr[j]> arr[j+1]) {// when the condition is satisfied, the exchange; int temp; temp=arr[j]; arr[j]=arr[j+1]; arr[j+1]=temp; flag=false; / / if this trip have exchange value to change the mark. }} if (flag) {// judgment marker variable values, to decide whether to jump out of the outer loop. System.out.println ("No." +i+ "is in line.). "); break;}} / / for (int traversal array; n:arr) {System.out.print (" n+ ");}}

Output results for:

Java learning - you should have a mind map
bubble sort results

The above is the basic chapter of the mind map, I hope to help you, later I will constantly update, please look forward to, please pay more attention.