Instant Download for Introduction to Java Programming Comprehensive Version 9th Edition Liang Test Bank 2024 Full Chapters in PDF
Instant Download for Introduction to Java Programming Comprehensive Version 9th Edition Liang Test Bank 2024 Full Chapters in PDF
https://testbankdeal.com/product/introduction-to-java-programming-
comprehensive-version-10th-edition-liang-test-bank/
testbankdeal.com
https://testbankdeal.com/product/introduction-to-java-programming-
comprehensive-version-10th-edition-liang-solutions-manual/
testbankdeal.com
https://testbankdeal.com/product/introduction-to-java-programming-
brief-version-10th-edition-liang-test-bank/
testbankdeal.com
https://testbankdeal.com/product/window-on-humanity-a-concise-
introduction-to-general-anthropology-6th-edition-kottak-test-bank/
testbankdeal.com
Computed Tomography Physical Principles Clinical
Applications and Quality Control 3rd Edition Seeram Test
Bank
https://testbankdeal.com/product/computed-tomography-physical-
principles-clinical-applications-and-quality-control-3rd-edition-
seeram-test-bank/
testbankdeal.com
https://testbankdeal.com/product/canadian-organizational-
behaviour-8th-edition-mcshane-solutions-manual/
testbankdeal.com
https://testbankdeal.com/product/canadian-advertising-in-action-
canadian-10th-edition-tuckwell-test-bank/
testbankdeal.com
https://testbankdeal.com/product/economy-today-13th-edition-schiller-
solutions-manual/
testbankdeal.com
https://testbankdeal.com/product/preface-to-marketing-management-15th-
edition-peter-test-bank/
testbankdeal.com
Accounting Information Systems 2nd Edition Richardson Test
Bank
https://testbankdeal.com/product/accounting-information-systems-2nd-
edition-richardson-test-bank/
testbankdeal.com
Name:_______________________ CSCI 1302 OO Programming
Armstrong Atlantic State University
(50 minutes) Instructor: Y. Daniel Liang
Part I:
(A)
B’s constructor is invoked
A’s constructor is invoked
(B)
(a) The program has a syntax error because x does not have the compareTo
method.
(b) The program has a syntax error because the member access operator (.) is
executed before the casting operator.
(C)
(1) false
(2) true
(3) false (because they are created at different times)
(4) true
(E) The method throws a checked exception. You have to declare to throw
the exception in the method header.
Part II:
1
return result;
}
a. private method
b. protected method
c. public method
d. a and c
e. b and c
Key:e
2
#
2. Show the output of running the class Test in the following code:
interface A {
void print();
}
class C {}
a. Nothing.
b. b is an instance of A.
c. b is an instance of C.
d. b is an instance of A followed by b is an instance of C.
Key:d
#
3. When you implement a method that is defined in a superclass, you
__________ the original method.
a. overload
b. override
c. copy
d. call
Key:b
#
4. What is the output of running the class C.
public class C {
public static void main(String[] args) {
Object[] o = {new A(), new B()};
System.out.print(o[0]);
System.out.print(o[1]);
}
}
class A extends B {
public String toString() {
return "A";
}
}
3
class B {
public String toString() {
return "B";
}
}
a. AB
b. BA
c. AA
d. BB
e. None of above
Key:a
#
5. What is the output of running class C?
class A {
public A() {
System.out.println(
"The default constructor of A is invoked");
}
}
class B extends A {
public B(String s) {
System.out.println(s);
}
}
public class C {
public static void main(String[] args) {
B b = new B("The constructor of B is invoked");
}
}
a. none
b. "The constructor of B is invoked"
c. "The default constructor of A is invoked" "The constructor of B
is invoked"
d. "The default constructor of A is invoked"
Key:c
#
6. Analyze the following code:
a. The program has a syntax error because Test1 does not have a main
method.
4
b. The program has a syntax error because o1 is an Object instance
and it does not have the compareTo method.
c. The program has a syntax error because you cannot cast an Object
instance o1 into Comparable.
d. The program would compile if ((Comparable)o1.compareTo(o2) >= 0)
is replaced by (((Comparable)o1).compareTo(o2) >= 0).
e. b and d are both correct.
Key:e
#
7. The method _____ overrides the following method:
#
8. Which of the following possible modifications will fix the errors in
this code?
#
9. Analyze the following code.
class Test {
public static void main(String[] args) {
Object x = new Integer(2);
System.out.println(x.toString());
}
}
5
Key:c
#
10. What exception type does the following program throw?
public class Test {
public static void main(String[] args) {
Object o = new Object();
String d = (String)o;
}
}
a. ArithmeticException
b. No exception
c. StringIndexOutOfBoundsException
d. ArrayIndexOutOfBoundsException
e. ClassCastException
Key:e
#
11. What exception type does the following program throw?
public class Test {
public static void main(String[] args) {
Object o = null;
System.out.println(o.toString());
}
}
a. ArrayIndexOutOfBoundsException
b. ClassCastException
c. NullPointerException
d. ArithmeticException
e. StringIndexOutOfBoundsException
Key:c
6
Other documents randomly have
different content
The Project Gutenberg eBook of The cult of the
chafing dish
This ebook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this ebook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.
Language: English
BY·
FRANK·
SCHLOESSER·
LONDON
GAY·AND·BIRD
1905
Published May 1904
Second Edition March 1905
To
CHAPTER·1·THE·CHAFING·DISH
“There does not at this blessed moment breathe on the Earth’s
surface a human being that willna prefer eating and drinking to all
ither pleasures o’ body or soul.”—The Ettrick Shepherd.
Every bachelor has a wife of some sort. Mine is a Chafing Dish; and
I desire to sing her praises.
My better half—I love to call her Chaffinda, and to dwell upon the
doubled consonant—is a nickel-plated dish on a wrought-iron stand,
with a simple spirit-lamp wherewith to keep herself warm. I bought
her at Harrod’s Stores for twelve shillings and ninepence—and she
has sisters.
It has been borne in upon me that many quite nice folk may be glad
to learn something of the possibilities of Chaffinda. Whether married
or single, there are moments in the life of nearly every man and
woman when the need of a quick, hot, and light little meal is worth
much fine gold. To such I would politely address myself.
The ordinary domestic cook is a tireless enemy of the Chafing Dish.
She calls it “fiddle-faddle.” Maybe. But inasmuch as it is clean,
economical, speedy and rather simple, it would naturally not appeal
to her peculiar sense of the culinary art.
To bachelors, male and female, in chambers, lodgings, diggings, and
the like, in fact to all who “batch”; to young couples with a taste for
theatres, concerts, and homely late suppers; to yachtsmen,
shooting-parties, and picnickers; to inventive artists who yearn for
fame in the evolution of a new entrée; to invalids, night workers,
actors and stockbrokers, the Chafing Dish is a welcome friend and
companion.
It has its limitations, of course, but they are few and immaterial, and
its obvious advantages and conveniences far outweigh its trivial
drawbacks. At the same time it must be remembered that it is a
serious cooking apparatus, and by no means a mere toy.
It is quite erroneous to imagine that the Chafing Dish is an American
invention. Nothing of the sort. The earliest trace of it is more than a
quarter of a thousand years old. “Le Cuisinier Français,” by Sieur
François Pierre de la Varenne, Escuyer de Cuisine de Monsieur le
Marquis d’Uxelles, published in Paris in 1652, contains a recipe for
Champignons à l’Olivier, in which the use of a Réchaut is
recommended. A translation of this work, termed “The French Cook,”
was published in London in 1653, and the selfsame recipe of
Mushrooms after the Oliver contains the injunction to use a Chafing
Dish; moreover, the frontispiece, a charmingly executed drawing,
shows a man-cook in his kitchen, surrounded by the implements of
his art; and on the table a Chafing Dish, much akin to our latter-day
variety, is burning merrily. This was in 1653. The Mayflower sailed in
1620.
So much for the antiquity of the Chafing Dish. At the same time our
mitigated thanks are due to America for its comparatively recent
reintroduction, for until quite lately, in Great Britain, its use was
practically limited to the cooking of cheese on the table. The Chafing
Dish is much esteemed across the Atlantic, although one is forced to
admit that it is sometimes put to base uses in the concoction of
unholy stews, which have not the natural flavour of fish, flesh or
fowl, or even good red herring. Still, if the Americans are vague in
their French nomenclature, unorthodox in their sauces, eclectic in
their flavourings, and over-lavish in their condiments, yet they have
at any rate brought parlour cooking to a point where it may
gracefully be accepted as an added pleasure to life.
When two or three are gathered together, and one mentions the
magic word “Chafing Dish,” the second invariably chimes in with
“Welsh Rabbit.” This is an error of taste, but excusable in the
circumstances. Chafing Dishes were not created for the exclusive
canonisation of Welsh Rabbits, although a deft hand may
occasionally play with one in a lightsome mood. There are other and
better uses. All the same, a fragrant and delicate Rabbit is not to be
despised, although it must not be made conceited by too great an
elevation into the realms of high cookery.
My Chaffinda has at least seventeen hundred and four different
charms, therein somewhat exceeding the average number
appertaining to her sex, but it would require volumes to mention
them separately, and it must suffice to indicate roughly a few of the
more prominent.
I suppose that every nation has the cooks that it deserves, and, if
this be accepted as an axiom, the general degeneration of the Plain
Cook of the middle classes amply accounts for the growing cult of
the Chafing Dish. The British school of cookery, in its mediocre form,
is monotony exemplified. Too many broths spoil the cook; and hence
we derive our dull sameness of roast and boiled.
Sweet are the juices of diversity, and whilst there is no reason for
the Chafer to elaborate a sauce of thirteen ingredients, the cunning
manipulation of three or four common articles of the domestic store-
cupboard will often give (intentionally or otherwise) surprising
results. This I shall hope to explain more fully later on.
Imagination and a due sense of proportion are as necessary in
cooking as in any other art—more so than in some, for
Impressionism in the kitchen simply means indigestion. Digestion is
the business of the human interior, indigestion that of the doctor. It
is so easy to cook indigestible things that a savoury cunningly
concocted of Bismuth and Pepsine would seem an almost necessary
adjunct to the menu (or Carte Dinatoire, as the French Revolutionists
called it) of the budding Chafist.
But the demon of indigestion may easily be exorcised with a little
care and thought. Three great apothegms should be borne in mind.
Imprimis: Never worry your food; let it cook out its own salvation.
Item: Use as few highly spiced condiments as possible; and, lastly,
keep to natural flavours, juices, and sauces.
Much modern depravity, for instance, I attribute to the unholy cult of
Mayonnaise (or Mahonnaise, or Bayonnaise, or Magnonaise,
according to different culinary authorities). At its best it is simply a
saucy disguise to an innocent salmon or martial lobster, reminding
the clean-palated of an old actor painted up to look young. I once
knew a man who proposed to a girl at a dance-supper simply
because he could not think of anything else to say, and suddenly
discovered that they both hated Mayonnaise. I have no reason to
suppose that they are unhappy.
At the same time I am in no wise against trying new dishes, new
combinations of subtle flavours, if they do not obliterate the true
taste of the basis. An experimental evening with Chaffinda, when
one is not sure how things are going to turn out, is, I find, most
exhilarating, and a sure cure for the blues. But I am fain to admit
that on such occasions I always provide a chunk of Benoist pressed
beef as a stand-by in case of emergency.
There is nothing final about the Chafing Dish.
Another point about having a wife in the shape of a Chafing Dish is
somewhat delicate to explain. Coarsely indicated, it amounts to this.
Continuous intercourse with such a delicious, handy and resourceful
helpmeet tends to a certain politeness in little things, a dainty
courtesy which could not be engendered by the constant
companionship of a common kitchen-range. Chafing-Dish cookery
bears the same relation to middle-class kitchen cookery that the
delightful art of fencing does to that of the broadsword. Both are
useful, but there is a world of subtle differentiation between the two.
The average rough and tumble of the domestic saucepan contrasts
with the deft manipulation of the miniature battery of tiny pans.
And politeness always pays; moreover, it is vastly becoming. I gave a
little tea-party recently to some dear children. Some of them were
twins. Edith, a female twin of nine, asked me to help her to some
more blackberry jam. “Certainly, Edith,” I said; “but why don’t you
help yourself?” The maid was even politer than she was hungry:
“Because I was afraid I should not take enough.” And thus we learn
how things work among manikinkind.
There are some who delight in the flavour of onions. I do myself—
but then I am a bachelor. Politeness and onions form one of life’s
most persistent inconsistencies. His Most Gracious Majesty King
George IV., it is recorded, attempted to kiss a royal housemaid, who
said: “Sir, your language both shocks and appals me; besides which,
your breath smells of onions!” And again, in a Cambridge dining-
room, a framed notice on the wall stated: “Gentlemen partial to
spring onions are requested to use the table under the far window.”
Nevertheless, the benefits of onions toward the human race are
probably not less than those attendant on the discovery of steam. It
is a vegetable whose manifold properties and delights have never
been properly sung. As a gentle stimulant, a mild soporific, a
democratic leveller of exaggeration in flavour, a common bond
between prince and peasant, it is a standing protest of Nature
against Art.
On my wall, as I write, hangs a delightful oil study of a clump of
onions in flower, which the deft artist aptly dubs Le Fond de la
Cuisine. Dr. William King said that “Onions can make even heirs or
widows weep”; and the “Philosopher’s Banquet,” written in 1633,
seems to meet the case excellently:
Beef Strips.
The experiment, the preliminary exercise, if I may so term it, has no
name, although it savours somewhat of the Resurrection Pie,
unbeloved of schoolboys. Let us call it Beef Strips. Cut three thick
slices from a rather well-cooked cold sirloin of beef, cut these again
into strips a quarter of an inch wide and about three inches long.
Take care that they are very lean. Chop up half a dozen cold boiled
potatoes (not of the floury kind) into dice. Put the beef and the
potatoes into the Chafing Dish. Light the lamp and see that the heat
is steady, but not too strong. Add at once a good-sized walnut of
butter, a teaspoon of Worcester sauce, salt and pepper. For at least
ten minutes turn over the mixture continually with a wooden spoon
until it is thoroughly heated. Turn it out on to a hot dish, and garnish
with half a dozen tiny triangles of toast.
This is a simple luncheon or supper dish which takes little time, and
—to my taste at least—is appetising and satisfying. Like all Chafing-
Dish preparations, it can be cooked on the table, with no more
protection than a tray under the wrought-iron stand, and a square of
coloured tablecloth upon your white one to receive possible splashes
or drops.
Jellied Ham.
Now for exercise number two, which I have christened Jellied Ham,
and commend as a dish very unlikely to go wrong in the
manipulation.
Get your flame steady and true, and put a small walnut of butter in
the dish. When it is fluid, add a good dessert-spoonful of red currant
jelly, a liqueur glass of sherry, and three drops of Tabasco sauce.
Drop into this simmering mixture a few slices of cold boiled ham cut
thin and lean, and let it slowly cook for six to eight minutes. If you
wish to be extravagant, then instead of the sherry use a full wine-
glassful of champagne. It is by no means necessary to eat this with
vegetables, but if you insist on the conjunction, I would recommend
a purée of spinach, directions for which appear hereafter.
This Jellied Ham is an agreeable concoction, which I find peculiarly
soothing as a light supper after having seen an actor-manager
playing Shakespeare. This is, however, after all only a matter of
taste.
It has always seemed to me that different forms of the drama
require, nay demand, different dinners and suppers, according to the
disposition in which one approaches them. For instance, before an
Adelphi melodrama, turtle soup (mock if necessary), turbot and
rump steaks are indicated, whereas a musical comedy calls for an
East Room menu, and an Ibsen or G. B. Shaw play for an A.B.C.
shop or a vegetarian restaurant respectively. But I only hint at the
broad outline of my idea, which is capable of extension to an
indefinite limit.
Vegetarian meals do not appeal to me. There is a sense of sudden
and temporary repletion followed shortly afterwards by an aching
void, which can only be assuaged by a period of comparatively gross
feeding. Besides, judging from the appearance of my vegetarian
friends (in whom maybe I am unfortunate) they often seem so much
to resemble some of the foods they eat as to render themselves
liable to be dubbed cannibals. But this is probably mere prejudice.
Mutton Cutlets.
After this little digression it will be well to turn to more serious things
—cutlets, for instance. Obtain from the butcher a couple of well-
trimmed mutton cutlets, and from the greengrocer sufficient green
peas that, when shelled, you will have a breakfast-cupful. Melt a
walnut of butter in the Chafing Dish. Into the melted butter drop a
tablespoonful of flour and a sprinkling of chopped chives. A
teaspoonful of Worcester sauce and three drops of Tabasco, together
with salt at discretion, will suffice for flavouring, and care must be
taken that the mixture does not boil. Put in the cutlets, and when
they begin to turn brownish add the peas, and half a cupful of milk.
About fifteen minutes should cook the meat through if your spirit
flame be strong, otherwise it may take somewhat longer. A very
good substitute for Worcester sauce, in this connection, is Sauce
Robert, which it is unnecessary to manufacture, as it can be bought
ready made, and well made too, of the Escoffier brand. With certain
meats it is an excellent condiment.
By the way, in some very old cookery books Sauce Robert was
termed Roe-Boat sauce, an extraordinary orthographic muddle. An
omelette was likewise known as a “Hamlet.”
This suggests the somewhat too sophisticated schoolboy’s
description of Esau as “a hairy, humpbacked man, who wrote a book
of fables and sold the copyright for a bottle of potash.”
It may be deemed superfluous, and in that case I apologise
beforehand, to insist on the most scrupulous cleanliness in dealing
with the Chafing Dish and its adjuncts. Not only should the dish itself
be kept spotless and thoroughly scoured, but the stand, the lamp,
the implements, and the glass and china should be immaculate.
Servants are easily persuaded to look after the cleaning process, and
do it with a certain amount of care, but it can do no harm to
understudy their duties and add an extra polish all round oneself. It
gives one, too, a personal interest in the result, otherwise lacking. I
recommend the use of at least three dishcloths, which should be
washed regularly and used discreetly. The Chafist who neglects his
apparatus is unworthy of the high mission with which he is charged,
and deserves the appellation of the younger son of Archidamus III.,
King of Sparta. Cleanliness is next to all manner of things in this
dusty world of ours, and absolutely nothing conduces more to the
enjoyment of a mealet that one has cooked oneself than the
knowledge that everything is spick and span, and that one has
contributed oneself thereto by a little extra care and forethought.
A word of warning here. Never use “kitchen butter,” or “kitchen
sherry,” or “kitchen eggs,” or “kitchen” anything else; use the very
best you can afford.
An armoury of brooms, brushes, scrubbers, soap and soda is in no
way necessary. A couple of polishing cloths and a little, a very little,
of one of the many patent cleaners is all that is required. A clear
conscience and plenty of elbow-grease does the rest.
The British equivalent of the continental charcutier is of inestimable
service to the Chafist. At his more or less appetising emporium,
small quantities of edibles can be purchased which are excellently
well adapted for the cult of Chaffinda, especially if one be inclined
towards the recooking of cold meats, instead of the treatment of
them in a raw state. Both have their advantages—and their
drawbacks. It is a general, but totally inaccurate, belief that meat
once cooked needs only to be hotted up again. Nothing could be
more fatal to its flavour and nutriment. A certain amount of the good
juices of the meat must inevitably have been lost during the first
process, and therefore great care must be taken in the second
operation to tempt forth, and, in some cases, to restore the natural
flavour. Cold cooked meat needs long and gentle cooking, a strong
clear flame, without sudden differences in temperature, and it may
be taken as a general rule that cold meat needs practically as long to
cook as raw meat.
Browned Tongue.
For example, take half a dozen slices of cooked tongue, spread on
each of them a modicum of made mustard, and let each slice repose
for about two minutes in a little bath of salad oil (about enough to
cover the bottom of a soup plate). Put the slices one on top of
another until they make a compact little heap. Put the heap of
tongue between two plates, so as to expel the superfluous oil. Let it
remain thus for half an hour. Then put a nutmeg of butter in the
blazer, dismember the heap of tongue, and put the slices into the
frizzling butter and turn them until they are brown. A little sauce,
Worcester, Robert, or Piquant, may be added to suit individual taste.
Serve very hot, with sippets of toast.
I have ventured to christen this dish Browned Tongue, which is
simple and descriptive, but every Chafist is entitled to call it what he
likes. There is little, if any, copyright in Chafing-Dish titles. Alexandre
Dumas, author and cook, protests against the mishandling of
names: “Les fantaisies de saucer, de mettre sur le gril, et de faire
rôtir nos grands hommes.”
Personally I object to cooking simple fare and then dubbing it à la
Quelque chose. Outside the few score well-known, and, so to say,
classic titles of more or less elaborate dishes, which are practically
standardised, there seems to me to be no reason to invent riddles in
nomenclature when the “short title,” as they say in Parliamentary
Bills, is amply descriptive.
It has been my ill-fortune to be introduced, at an otherwise harmless
suburban dinner, to a catastrophe of cutlets, garnished with tinned
vegetables, and to be gravely informed, on an ill-spelt menu, that it
was “Cutelletes d’Agneau à la Jardinnier,” which would be ludicrous,
were it not sad. Then how often does the kind hostess, without a
punitive thought in her composition, write down Soufflet when she
means Soufflé?
But mistakes are easily made, as witness that popular sign of a
French cabaret, particularly in the provinces, Au Lion d’Or. If you
look carefully at the signboard, you will find a man asleep, the
punning name of the hotel implying Au lit on dort.
But the whole question of Menus (Bills of Fare, if you please), and
their mistranslation, is too vast to enter upon here, alluring though
the subject may be. The language of the restaurant cook, save in
especial instances, is as bad, although in a quite different sense, as
that of the Whitechapel Hooligan. At the same time, it is absurd to
insist upon the literal translation of the untranslatable. “Out of
works” for “Hors d’œuvres”; “Soup at the good woman” for “Potage
à la bonne femme”; “Smile of a calf at the banker’s wife” for “Ris de
veau à la financière”; and, lastly, “Anchovies on the sofa” for
“Anchois sur canapé,” are all well enough in their way, but hardly an
example to be followed, although they make “very pretty patriotic
eating.”
It would be ridiculous to run away with the idea that because certain
folk misuse the language, French should be henceforward taboo at
our dinner-tables. Such a notion is ignorant and impossible. But the
Gallic tongue should be used with discretion and knowledge, and if
the enterprising Chafist invent a new dish of eggs, there is no law to
forbid his naming it Œufs à la Temple du Milieu. It would only show
the quality of his erudition and his taste. There seems no particular
reason why we should not replace Rôti by Roast, Entrée by Remove,
and Entremet by Sweet—except that it is not done; it is an
affectation of humbug, of course, but the greatest humbug of all
humbugs is the pretending to despise humbug.
Alderman’s Walk.
On revient toujours à son premier mouton—that is to say, let us get
back to Chaffinda. The next dish on the experimental programme is
“The Alderman’s Walk,” a very old English delicacy, the most
exquisite portion of the most exquisite joint in Cookerydom, and so
called because, at City dinners of our grandfathers’ times, it is
alleged to have been reserved for the Aldermen. It is none other
than the first, longest and juiciest longitudinal slice, next to the
bone, of a succulent saddle of mutton, Southdown for choice, and
four years old at that, though this age is rare. Remove this slice
tenderly and with due reverence from the hot joint, lay it aside on a
slice of bread, its own length, and let it get cold, thoroughly cold.
Then prepare in the Chafing Dish a sauce composed of a walnut of
butter, a teaspoon of Worcester, three drops of Tabasco, three
chopped chives, and an eggspoon of made mustard. Stir these
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
testbankdeal.com