Question1. Write detailed notes related to Object-Oriented Concepts on the following:
a) Class and object definitions,
b) Class declaration,
c) Encapsulation and abstraction,
d) The two main advantages of encapsulation,
e) Constructor
Question2. Differentiate between private, public and protected variables.
Question3. A bank needs to keep records (Account Number, Date of opening, Names of account holder, Address, current balance) of customer accounts. The class should contain two methods (Input_Account and Display_Account) that allow the input and display of information for an account.
a) Define the required class interface for account.
b) Write the above mentioned methods as well as other important methods (constructor and destructor) implementations and hence, the main program.