Re: Binary to Decimal and Octal Conversion



lei wrote:
There are few errors in syntax. I'm new to java and I can't recognize
why do such errors appear. Please help. Thank you so much!

Your immediate problem is that you've put "toDecimal" inside "main". You can't do that.

--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
.



Relevant Pages