CS -74 Introduction To Internet ProgrammingDec -2002
Q.4(i). In an object oriented taffic simulation system, we have the following Basses :
Vehicle
Car
Truck
Pick up truck
Sport utility vehicle
Mini van
Bicycle
Motorcycle
Draw an inheritance diagram that shows the relationship between these classes. Identify methods, variables in each class.
(ii) Describe the init(), start(), stop() and destroy() methods in the applet class.