Today, I went to the street scientific bookstore to see this Java textbook, and there is a harvest. It seems that it is necessar

xiaoxiao2021-03-06  70

Temporary the results of reading: 1: Abstrace and its subclass (Abstract) abstract class is an abstract method, and only need to declare that subclasses that do not need to achieve abstract classes must implement their parent class. Types To declare as public types because the default types are Friend

2: Static method and static member (STAIC) If a method is independent in the class, there is no member of the Access class, then it is recommended to set this method to static method static methods. The advantage is that the execution speed is faster. The static method can only access static members of the class.

3: Declaration of Interface and Multi-inheritance interface: The name of the interface interface interface is usually an ABLE. A class implementation interface: Class Class Name Impliment Interface Name {} A class implementation multiple interfaces: Class class name Impliment interface name 1, interface name 2, interface name 3 {}

There are still some forgotten, let's take a look at it next time. It seems that the memory is not yet.

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

New Post(0)