adplus-dvertising
frame-decoration

Question

Which of these is a method can generate a boolean output?

a.

retbool()

b.

getBool()

c.

nextBool()

d.

nextBoolean()

Posted under Java Programming

Answer: (d).nextBoolean()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these is a method can generate a boolean output?