How to convert all the elements of an array into a single number? For example if an array a={1,1,2,0}. I need to convert the elements as b=1120. How can I do this. If anyone knows please answer me.
Arrays in java
Collapse
X
Comment