Boolean eminem = new Boolean("yes");

What does it mean & what does it create?

Thanks.

Recommended Answers

You need to look at the Boolean API doc which answers your question. It is one of the constructor of the class. By the way, Boolean class is a wrapper of primitive boolean.

Jump to Post

All 2 Replies

You need to look at the Boolean API doc which answers your question. It is one of the constructor of the class. By the way, Boolean class is a wrapper of primitive boolean.

Thanks for your time.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.