Problem:
(a) Distinguish between a class and an object.
(b) Define instantiation.
(c) What is the importance of the "this" variable in java.
(d) What is encapsulation?
(e) Distinguish between public, private and protected access modifiers.
(f) What do you understand by a constructor?
(g) Explain the meaning of inheritance.