Java Basic Coding Interview Questions