Citi interview question

Java encapsulation polymorphism sql types thread,objects,inheritance