<< Chapter < Page | Chapter >> Page > |
Revised: Tue Apr 05 15:10:31 CDT 2016
This page is included in the following Books:
This module is one in a collection of modules on Java Collections designed for teaching ITSE2321 - Object-Oriented Programming (Java) at Austin Community College in Austin, TX.
This module contains review questions and answers keyed to the module titled Java4030: Purpose of Framework Interfaces .
Once you study that module, you should be able to answer the review questions in this module.
The questions and the answers in this module are connected by hyperlinks to make it easy for you to navigate from the question to the answer and back again.
True or False? There are eight core interfaces in the Collections Framework .
True or False? Each of the core interfaces in the Collections Framework declares several methods and provides a contract that applies to each declared method.
True or False? The method declarations in the core interfaces in the Collections Framework specify the general behavior of matching methods in the classes that implement the interfaces without regard for the contracts associated with those methods.
True or False? At least four things are included in a collections framework:
True or False? In Java, a collection is an object of some type, and that type is defined in a generic sense by one or more interfaces that make upthe Collections Framework.
True or False? All data types specify the operations that can be performed on an entity of that type as well as the kinds of data that can be stored in anentity of that type.
True or False? An object in Java can often be considered to be of several different types.
True or False? While a class in Java represents a data type, the same is not true for a Java interface.
True or False? Framework collection objects in Java are instantiated from classes that implement the core interfaces of the Collections Framework.
True or False? A Java interface in the Collections Framework specifies the type of an object instantiated from a class that implements theinterface. The interface also provides a generic representation of the operations that apply across different implementations of the interface.
True or False? Methods declared in an interface specify the behavior of the corresponding methods when defined in classes that implement the interface.
True or False? One of the things that distinguishes the Collections Framework from "just a bunch of interfaces" is the existence of contracts associated with the framework.
Notification Switch
Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?