Hi,

Can anyone please tell whats the size of a boolean variable declared in Java?

There is no need to know. A boolean is a boolean is a boolean. How it's defined internally is inconsequential to the person using the datatype.
It could even be different on different JVMs, so counting on a particular implementation is dangerous.

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.