I major in business administration and for a long time I wanted to learn how to code on my spare time. How useful is it to know how to code without actually having a computer science major and would it advance my career prospects after getting an MBA?

I bought a book named "The art and science of Java" and I plan to continue with other programming languages after I master it.