Anonymous inner class
----------------------------------------------------
The inheritance of abstract classes, method overrides, and the creation of objects are combined to write
Btn.addlisener (New Abstractlisener () {
Override of Method
});
Abnormal
—------------------------------------
1.Throwable has two subclasses, exception and error
2.throw keyword can throw exception object
The 3.throws keyword throws an exception declaration at the time of the method definition
4.RuntimeException exceptions are not declared when method definitions are thrown
5. If the exception does not catch capture, it must be thrown.
6.RuntimeException exceptions can be used without tcy. .. Catch...finally to capture
7. When overridden by a method, the exception that is thrown by the parent class must be thrown as-is (subclass or itself), and no additional new exceptions can be appended
Jar Package
---------------------------------------
1. Packaging command: Jar CVF xxx.jar-c classes/. (the folder where the root package resides)
2.JAVAC-CP lib/birthday.jar;classes/-D classes Src/jardemo.java
JAVA-CP Lib/birthday.jar;classes/jardemo
3.
Big Data-java Foundation -7day