Here I am contributing the Java Solution for the problem. Concatenation of Consecutive Binary Numbers: Given an integer n, return the decimal value of the binary string form