March 9, 2005 Notes

xiaoxiao2021-03-06  14

1, public static void main (string, arg [])

The Arg [] is an array of String variables.

2, Javac -verbose see compilation details

3, Java -Prof Hello Show

4, JavaP Tell you where is class come from

5, What's Super, The Think in Java Page 201,

6, combination and inheritance, IS-a is a problem, use inheritance to express, and Has-a problem, there is a problem to express it. In the new Class use the original Class function, not an interface, is a combination technology. It is embedded in Class. If you have to transform the Class up, then you must use inherit, and transform the New Class to Base Class.

7, Final:

转载请注明原文地址:https://www.9cbs.com/read-48965.html

New Post(0)