Infosys Interview Question

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