Java Compiler enable() 方法

2025年3月21日 | 阅读 1 分钟

Java Compiler 类的 enable() 方法用于使编译器恢复或开始其操作。

语法

参数

不适用

返回

不适用

示例 1

输出

Enabling the compiler!!
class CompilerCompileClassExample1
class EnableExample
Value returned by method is : false
Disabling the compiler!!
下一主题Java Compiler 类