<< 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

1. Discuss the processes involved during exchange of fluids between intra and extracellular space.
Mustapha Reply
what are components of cells
ofosola Reply
twugzfisfjxxkvdsifgfuy7 it
Sami
58214993
Sami
what is a salt
John
the difference between male and female reproduction
John
what is computed
IBRAHIM Reply
what is biology
IBRAHIM
what is the full meaning of biology
IBRAHIM
what is biology
Jeneba
what is cell
Kuot
425844168
Sami
what is biology
Inenevwo
what is sexual reproductive system
James
what is cytoplasm
Emmanuel Reply
structure of an animal cell
Arrey Reply
what happens when the eustachian tube is blocked
Puseletso Reply
what's atoms
Achol Reply
discuss how the following factors such as predation risk, competition and habitat structure influence animal's foraging behavior in essay form
Burnet Reply
cell?
Kuot
location of cervical vertebra
KENNEDY Reply
What are acid
Sheriff Reply
define biology infour way
Happiness Reply
What are types of cell
Nansoh Reply
how can I get this book
Gatyin Reply
what is lump
Chineye Reply
what is cell
Maluak Reply
what is biology
Maluak
what is vertibrate
Jeneba
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