Question: The Java Collection classes have some idiosyncrasies. We noted one of them, in that class Stack is a subclass of class Vector. Moreover, there is

The Java Collection classes have some idiosyncrasies. We noted one of them, in that class Stack is a subclass of class Vector. Moreover, there is no class Queue or Prl ori tyQueue predefined in Java, even though these collections are very important modeling tools in computer science.

(a) What other weaknesses do you find with the Java Collection classes?

(b) What similar data structures are predefined in the C++ standard library? ls this library more complete than Java's? Explain the basic differences between the two.

(c) Pe1form the same compmison as in part (b), except between Java and Ada.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!