DXC Technology interview question

Program a mathematical expression parser in Java