Java Compiler disable() method

The disable() method of the Java Compiler class is used to stop the compiler from performing any operation.

Syntax

Parameters

NA

Return

NA

Example 1

Test it Now

Output:

class CompilerCompileClassExample1
class DisableExample
Value returned by method is : false
Disabling the compiler!!




Latest Courses