<< Chapter < Page | Chapter >> Page > |
This module is one in a collection of modules designed for teaching INEW 2338 Advanced Java (Web) at Austin Community College in Austin, TX.
This module contains review questions and answers keyed to the module titled Java4650: The URLConnection Class in the Network Programming sub-collection.
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?
The URLConnection class is an abstract class that can be extended . It has a protected constructor that takes a URL object as a parameter.
True or False?
The URLConnection class can be instantiated directly.
True or False?
A common way to get a URLConnection object is to call a method on a URL object that returns an object of a subclass of the URLConnection class.
True or False?
The method named openConnection can be called on a URL object to get a reference to an object of a class that is a subclass of the URLConnection class.
True or False?
Three methods can be called on a URLConnection object to obtain the following three informational aspects of the URL:
What is the meaning of the following two images?
These images were inserted here simply to insert some space between the questions and the answers to keep them from being visible on the screen at thesame time.
This image was also inserted for the purpose of inserting space between the questions and the answers.
True.
True.
True.
False. The URLConnection class is abstract , and therefore cannot be instantiated directly. However, it can be extended , and it has a protected constructor that requires a URL object as a parameter.
True.
This section contains a variety of miscellaneous information.
Financial : Although the Connexions site makes it possible for you to download aPDF file for this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, youshould be aware that some of the HTML elements in this module may not translate well into PDF.
I also want you to know that, I receive no financial compensation from the Connexions website even if you purchase the PDF version ofthe module.
In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale onAmazon.com showing me as the author. I neither receive compensation for those sales nor do I know who does receive compensation. If youpurchase such a book, please be aware that it is a copy of a module that is freely available on cnx.org and that it was made andpublished without my prior knowledge.
Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.
-end-
Notification Switch
Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?