Java Class isAnonymousClass() MethodThe isAnonymousClass() method of java Class class returns true if the underlying class is an anonymous class. SyntaxParameterNA Returnstrue if this class Is an anonymous class. ThrowsNA Example 1Test it NowOutput: The Class Name = ClassisAnonymousClassExample1 Is this AnonymousClass = false Example 2Test it NowOutput: true Next TopicJava Class |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India