Home » Java Array getBoolean() Method

Java Array getBoolean() Method

by Online Tutorials Library

Java Array getBoolean() Method

The getBoolean() method of Array class returns the value of the indexed component in the specified array object, as a boolean.

Syntax

Parameter

array – the array

index – the index

Returns

The value of the indexed component in the specified array

Throws

NullPointerException

IllegalArgumentException

ArrayIndexOutOfBoundsException

Example 1

;i++)>

You may also like