Note that class loading can be performed in a lazy manner and therefore some parts of the class loading process may be done on first use of the class rather than at load time.
请注意可以用惰性方式执行类装入,所以类装入过程的某些部分可能在第一次使用类的时候才执行,而不是在装入时执行。
When performed at development time, this process is very similar to the first option listed above in which we explicitly selected the Add class' implementation of the Math interface.
在开发时执行时,此过程与上面列出的第一个选项非常相似,我们在此选择中显式地选择 Add 类的 Math 接口实现。
First, define the ApplicationServlet class to initiate the list values loading process at application start-up time.
首先,定义applicationservlet类,以便在应用程序启动时开始列表值加载过程。
应用推荐