BluLogix interview question

basics of java and object oriented programming, they asked me about the classes and the differences between public protected and private, overriding and overloading, inheritance and exceptions.