Close to the end of the semester, we also want to close the course, Java learning is also close to
End. This is also our last blog post, a semester has learned a lot.
From the most basic grammatical knowledge points to classes, objects and methods, the Java program is formed, but
After this on the basis of slowly inherit, interface and then to the human-Computer Interaction window, are a
A gradual process.
Multithreading is also a major feature of Java, and generally, the implementation of runnable interface can avoid
the limitation of the exemption from single inheritance. and, inheriting thread, is possible on the thread class
In the method of sub-class replication. But there's no need to do this replication.
, it is easier to implement the Runnable interface just to define where the thread code is stored
。 So the Runnable interface encapsulates the task that the thread is performing as an object .
For the exam to be well prepared, the task is more onerous.
201671010138 2016-2017 "Java Programming"