Pearson Interview Question

How object oriented concepts are used in Java