0

How do i return a boolean array?

i get an error stating that i can't cast from boolean[] to boolean.

I have something like below.

method logic...

boolean [] information = {true, false};
return information; // this line does not work.

Thanks sj

1
Contributor
1
Reply
2
Views
12 Years
Discussion Span
Last Post by Sailor_Jerry
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.