Java Class isSynthetic() MethodThe isSynthetic() method of java Class class returns true if this class is a synthetic class; returns false otherwise. SyntaxParameterNo parameter is passed. Returnstrue if and only if this class is a synthetic class as defined by the Java Language Specification. ThrowsNA Example 1Test it NowOutput: Is Synthetic ::false Example 2Test it NowOutput: false false false true
Next TopicJava Class
|