Boolean eminem = new Boolean("yes");

What does it mean & what does it create?

Thanks.

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.