Chapter 2:
1、What are the main features of such an OOP language as Delphi? How to define a class type?
2、What is object and its properties, events and methods?
3、What is a constructor and destructor? When is a class's destructor called?
4、What is the methods of a class? Try to give an example to demonstrate the implementation of the method.
5、What is encapsulation?
6、Try to describe the Delphi’s object reference model.
7、What is inheriting? How to inheriting from existing types? Try to give an example.
8、What is polymorphism? Try to explain how to implementation it.
9、How to overriding and redefining methods?
10、What are the differences between the virtual methods and the dynamic methods?
11、What is the abstract methods?
12、What is the exceptions? How to define the exception classes? How to handle an exception? Give an example.
13、Write a class that takes a person's height in inches and returns the height in feet. Derive a class from the class of person that also returns the height in meters, centimeters, or millimeters.
14、What is the purpose of having private fields and methods?