Learn Java also more than one months, I this person always feel the pattern is a bit small, too petty, in the process of learning new things I began to have some knowledge of myself. The first is the progress of learning is not fast enough, always clinging to the foundation, like High school, although at that time in our class my results are good enough, but the process of self-study review is still persistent and the foundation. Lead to their own learning progress is unpleasant, for oneself also limit oneself more potential. Looking back on my nearly 20 years of study time, I also have a clearer understanding of the process of learning. Learning is to accept the use of the process of learning, for any one person, the beginning of study is not easy, especially self-study bar, recently really have a deep understanding, in this just contact process, I do not know, no goals and achieve their own goals, very confused. But keep in mind that perseverance, perseverance in learning, in more than 10 days after their goals are gradually clear, the process of learning has been understood. Now it can be said that it is from the almost unknown, unclear, not aware of the current momentum, there are goals, there is progress.
• Recently really every day the brain is facing objects, inheritance, encapsulation of these things, when the bath is pondering, I can also be sure that they are really interested in programming. Recently I learned to spread the wisdom of the javase part of the Bi Xiangdong, can only say that things are really many, and have not touched before, not too deep to see. Later followed by Zhejiang University's Onge Teacher's Mooc, the teacher speaks is very good to understand although does not resemble the teacher so all-encompassing, but Onge teacher's curriculum less thread Some things, I also saw the Tsinghua University Tang Dashi Teacher's course, Tang teacher perhaps because is the Tsinghua's bar, many things I do not understand but all a stroke, But the Java part still understands. Here are some places I'm not familiar with in Java.
The Java data type determines how and how data is stored, divided into two main categories: the basic data type, the reference type (class interface array). &&--the first operand is false the second operand is not judged | | -The first operand is true and the second operand is not judged. Three types of loops:
The while statement is a looping statement that first determines whether a condition is satisfied, executes the statement or statement parentheses immediately following the condition, and then again determines whether the condition is satisfied and executes again if the condition is satisfied until the condition is satisfied. The statement or statement parenthesis immediately following it is the loop body.
The Do-while loop is much like the while loop, and the only difference is that we judge the condition at the end of the loop body execution. That is, in any case, the loop executes at least once and then the condition is judged. As with the while loop, the loop is executed when the condition satisfies, and the loop is ended when the condition is not satisfied.
For loop, we have known the number of loops before the loop.
Enhanced for statement: The enhanced for statement makes it easy to manipulate the array, the elements in the collection.
int [] ages = new int [10]; for (int. age:ages) {System.out.println (age);
} read-only statements
Method Overloading: Multiple methods have the same name, the JVM can be recognized at compile time (these methods have different signatures, or different number of parameters or different types of parameters) (the embodiment of polymorphism) is actually a new method, can also overload the parent class with the same name method
Overriding of methods: subclasses redefine methods with the same name as the parent class , implementing overrides to the parent class method
Two scenarios of polymorphism: Compile-time: overloading (multiple different methods with the same name) run-time polymorphism: Overwrite (subclass overrides method of parent class)
About recent Java Learning (i)