Which of these methods of Boolean wrapper returns boolean equivalent of an object.
(a) getBool()
(b) booleanValue()
(c) getbooleanValue()
(d) getboolValue()
I had been asked this question during an online interview.
My question is taken from Java.lang in portion Exploring java.lang & java.io of Java