Infosys interview question

arrays data structures encapsulation polymorphism difference between the CPP and java oops concepts