Java Class isArray() MethodThe isArray() method of java Class class determines if this Class object represents an array class. SyntaxParameterNA Returnstrue if this object represents an array class. ThrowsNA Example 1Test it NowOutput: Is arr is an array True Example 2Test it NowOutput: java.lang.String is not an array
Next TopicJava Class
|