I have two strings in the following format:
"11010"
"00101"
Both are binary representations. I want to OR these numbers and get the result as follows:
"11111"
Any idea on how to get it done using Java?
Upadte:
This is not a duplicate of mentioned question. I am performing OR operator on binary number represented in String format