why we use 2 in "Integer.parseInt(str,2);" for binary to decimal conversion..??
ya i got it... because binary contain only two o and 1...so here use 2...same as octal has 8..
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.