boolean to byte Java

The data type boolean is incompatible for converting into any other data type. That is, a boolean value cannot be converted into any other data type like char, int, double etc. The maximum permitted is one boolean can be assigned to another boolean. That is, boolean to byte is not possible. Following are not permitted. …

boolean to byte Java Read More »