1. ClassPath. The representative is the current directory default package, not the entire current directory. Because the compilation unit in the current directory may not belong to the default package.
2. The self-made commissioning mechanism, establishes a public static void main () method for each class, with debugging information. Homemade assertion adjustment package. Package com.9cbs.ihomd.debug; Built-in assertion Assertion class.
However, I have recently seen JUnit, and I found that the unit test module did not have him. I have introduced XP, Faint, I really have no peach blossoms for many years ... I will cheer after!
The first point is as follows: Test.java is established in the D: / javatest / directory: package example; public class test {public static void main (string args []) {system.out.println ("hello");} } Then execute the Javac as follows: D: / javatest> Javac -d. Test.java can see more of the example directory in the current directory, enter D: / javatest / esample / you can see the original Test.class if this When executing Java D: / javatest / example> Java test will appear! This shows that although the Test class is in the current directory, it cannot be found through "." In ClassPath. Because the Test class contains PACHAGE EXAMPLE The statement, not the default package belonging to the current directory! Perhaps this situation only knows now, but it makes me more clear ClassPath and Package mechanism. I think this is also a lot of inexplicable package errors. One.
3. Several Design Pattern: Singleton, Decorator ,,,
4. I hope to analyze a class or several classes every day. Today, String and StringBuffer are shocked.
5. I feel that the problem is also very headache. I have always wanted to figure out, but I have been dragging it, I can't drag again today. Java internationalization, IO stream string, Byte, etc. need character sets, coding and other knowledge
6. Gadgets should be used, and suddenly found that JDK comes with tools, I have used Javac, Java, how can I learn Java?