- Write a java program for addition, subtraction, multiplication and division of two binary numbers.
In this java program, we will first take two binary numbers as input from user and convert it to decimal numbers using Integer.parseInt() method. Then we add, subtract, multiply and divide integers(corresponding to given binary numbers) and convert the result back to binary number using Integer.toBinaryString() method.