1. According to the definition of the Ada programming language, what is the diff

1. According to the definition of the Ada programming language, what is the difference between private and limited private types exported by a package, as far as client modules are concerned? 2. used objects of type FIFO_CARS to represent any queue at the gas station. We would like, however, to treat a queue of cars waiting for gas differently from a queue of cars waiting for, say, a tune-up. In particular, if there is no gas left, we do not want to merge the two queues. In Example 4.8, the proper handling of queues was left to the client modules. Clients would choose appropriate names for objects (such as _i or car wash) in order to avoid merging inhomogeneous queues inadvertently. Suggest a better solution using generic modules.

You may also like