Write a package body for the list abstraction of Figure 10.2. Figure 10.2 generic type item is

Question:

Write a package body for the list abstraction of Figure 10.2.

Figure 10.2

generic type item is private; default_value : item; Ada supports both type -- and value generic parameters -- package g_list is list_err : exception; type list_node is tagged private; 'tagged' means extendable; 'private' means opaque -- type list_node_ptr is access all list_node; 'all' means that this can point at 'aliased'

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: