Fourth Week study summary
- The experiment cemented the last experiment and summed up the problem, there are two ways to do this question, one is to keep the logarithm of 10, the remainder is saved in sum , and then left one position, until the remainder is zero. The other is to cast the number into a string array of s=string. valueOf (num) , the characters are separated according to the method S.tochararray (), and theUnicode code value is subtracted from the "x"-"0"=x x the value.
- The parent class and subclass can see two intersections, can the Super keyword be considered as a subclass and a superclass interface?
- You can increase the domain, add methods, or override the superclass in a subclass, but you must never delete any fields and methods of the superclass.
- In fact, I think this weekend did not learn anything, see the Java experiment content especially did not learn the heart is quite chaotic.
201671010130 2016-2017-2 "Java Programming" Fourth Week study summary