<< Chapter < Page Chapter >> Page >
This module contains review questions and answers keyed to the module titled Java4030: Purpose of Framework Interfaces.

Revised: Tue Apr 05 15:10:31 CDT 2016

This page is included in the following Books:

Table of contents

Preface

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.

Questions

Question 1 .

True or False? There are eight core interfaces in the Collections Framework .

Answer 1

Question 2

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.

Answer 2

Question 3

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.

Answer 3

Question 4

True or False? At least four things are included in a collections framework:

  • interfaces
  • implementations
  • algorithms
  • variables

Answer 4

Question 5

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.

Answer 5

Question 6

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.

Answer 6

Question 7

True or False? An object in Java can often be considered to be of several different types.

Answer 7

Question 8

True or False? While a class in Java represents a data type, the same is not true for a Java interface.

Answer 8

Question 9

True or False? Framework collection objects in Java are instantiated from classes that implement the core interfaces of the Collections Framework.

Answer 9

Question 10

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.

Answer 10

Question 11

True or False? Methods declared in an interface specify the behavior of the corresponding methods when defined in classes that implement the interface.

Answer 11

Question 12

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.

Questions & Answers

calculate molarity of NaOH solution when 25.0ml of NaOH titrated with 27.2ml of 0.2m H2SO4
Gasin Reply
what's Thermochemistry
rhoda Reply
the study of the heat energy which is associated with chemical reactions
Kaddija
How was CH4 and o2 was able to produce (Co2)and (H2o
Edafe Reply
explain please
Victory
First twenty elements with their valences
Martine Reply
what is chemistry
asue Reply
what is atom
asue
what is the best way to define periodic table for jamb
Damilola Reply
what is the change of matter from one state to another
Elijah Reply
what is isolation of organic compounds
IKyernum Reply
what is atomic radius
ThankGod Reply
Read Chapter 6, section 5
Dr
Read Chapter 6, section 5
Kareem
Atomic radius is the radius of the atom and is also called the orbital radius
Kareem
atomic radius is the distance between the nucleus of an atom and its valence shell
Amos
Read Chapter 6, section 5
paulino
Bohr's model of the theory atom
Ayom Reply
is there a question?
Dr
when a gas is compressed why it becomes hot?
ATOMIC
It has no oxygen then
Goldyei
read the chapter on thermochemistry...the sections on "PV" work and the First Law of Thermodynamics should help..
Dr
Which element react with water
Mukthar Reply
Mgo
Ibeh
an increase in the pressure of a gas results in the decrease of its
Valentina Reply
definition of the periodic table
Cosmos Reply
What is the lkenes
Da Reply
what were atoms composed of?
Moses Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Object-oriented programming (oop) with java. OpenStax CNX. Jun 29, 2016 Download for free at https://legacy.cnx.org/content/col11441/1.201
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?

Ask