Question: JAVA T/F questions!!! If you gonna answer these questions, PLS ANSWER ALL OF THEM! Chapter 1- Bags True/False (10) 1. An abstract data type is
JAVA T/F questions!!!
If you gonna answer these questions, PLS ANSWER ALL OF THEM!

Chapter 1- Bags True/False (10) 1. An abstract data type is not necessarily a collection. 2. A collection is not necessarily an abstract data type. 3. Entries of a bag can belong to classes related by inheritance 4. Entries of a bag may belong to different classes because items are unordered. 5. All entries of a bag must have the same data type or a subtype of that data type 6. By declaring a data type to be a Baginterface, we can replace the bag class with another class 7. 8. 9. that implements the BagInterface. A method can change the state of an object passed to it as an argument. A set is a special kind of bag. You cannot determine the exact number of times a particular item appears in a bag because it is unordered. 10. Code written with respect to an interface makes it difficult to replace one implementation of a bag with another
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
