Oracle interview question

I wanted to code in python but was asked to code in java