Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 3rd Edition Kishori Sharan instant download
Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 3rd Edition Kishori Sharan instant download
https://ebookmeta.com/product/beginning-java-17-fundamentals-
object-oriented-programming-in-java-17-3rd-edition-kishori-
sharan-2/
https://ebookmeta.com/product/beginning-java-17-fundamentals-
object-oriented-programming-in-java-17-3rd-edition-kishori-
sharan-2/
https://ebookmeta.com/product/more-java-17-an-in-depth-
exploration-of-the-java-language-and-its-features-3rd-edition-
kishori-sharan/
https://ebookmeta.com/product/more-java-17-an-in-depth-
exploration-of-the-java-language-and-its-features-3rd-edition-
kishori-sharan-2/
https://ebookmeta.com/product/measuring-what-we-do-in-schools-
how-to-know-if-what-we-are-doing-is-making-a-difference-1st-
edition-victoria-l-bernhardt/
Forensic Mental Health 2nd Edition Michele P. Bratina
https://ebookmeta.com/product/forensic-mental-health-2nd-edition-
michele-p-bratina/
https://ebookmeta.com/product/gender-culture-and-disaster-in-
post-3-11-japan-1st-edition-mire-koikari/
https://ebookmeta.com/product/supervision-concepts-and-skill-
building-11th-edition-samuel-certo/
https://ebookmeta.com/product/discursive-navigation-of-
employable-identities-in-the-narratives-of-former-refugees-1st-
edition-emily-greenbank/
https://ebookmeta.com/product/im-new-here-ian-russell-hsieh/
Cybersecurity: Ambient Technologies, IoT, and Industry
4.0 Implications 1st Edition Gautam Kumar (Editor)
https://ebookmeta.com/product/cybersecurity-ambient-technologies-
iot-and-industry-4-0-implications-1st-edition-gautam-kumar-
editor/
Kishori Sharan and Adam L. Davis
Adam L. Davis
Oviedo, FL, USA
The publisher, the authors and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, expressed or implied, with respect to the
material contained herein or for any errors or omissions that may have
been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
This Apress imprint is published by the registered company APress
Media, LLC part of Springer Nature.
The registered company address is: 1 New York Plaza, New York, NY
10004, U.S.A.
Introduction
How This Book Came About
My first encounter with the Java programming language was during a
one-week Java training session in 1997. I did not get a chance to use
Java in a project until 1999. I read two Java books and took a Java 2
programmer certification examination. I did very well on the test,
scoring 95%. The three questions that I missed on the test made me
realize that the books that I had read did not adequately cover details of
all the topics necessary about Java. I made up my mind to write a book
on the Java programming language. So I formulated a plan to cover
most of the topics that a Java developer needs to use the Java
programming language effectively in a project, as well as to get a
certification. I initially planned to cover all essential topics in Java in
700–800 pages.
As I progressed, I realized that a book covering most of the Java
topics in detail could not be written in 700–800 pages. One chapter
alone that covered data types, operators, and statements spanned 90
pages. I was then faced with the question, “Should I shorten the content
of the book or include all the details that I think a Java developer
needs?” I opted for including all the details in the book, rather than
shortening its content to keep the number of pages low. It has never
been my intent to make lots of money from this book. I was never in a
hurry to finish this book because that rush could have compromised
the quality and the coverage of its content. In short, I wrote this book to
help the Java community understand and use the Java programming
language effectively, without having to read many books on the same
subject. I wrote this book with the plan that it would be a
comprehensive one-stop reference for everyone who wants to learn
and grasp the intricacies of the Java programming language.
One of my high school teachers used to tell us that if one wanted to
understand a building, one must first understand the bricks, steel, and
mortar that make up the building. The same logic applies to most of the
things that we want to understand in our lives. It certainly applies to an
understanding of the Java programming language. If you want to master
the Java programming language, you must start by understanding its
basic building blocks. I have used this approach throughout this book,
endeavoring to build each topic by describing the basics first. In the
book, you will rarely find a topic described without first learning its
background. Wherever possible, I have tried to correlate the
programming practices with activities in our daily life. Most of the
books about the Java programming language available on the market
either do not include any pictures at all or have only a few. I believe in
the adage “A picture is worth a thousand words.” To a reader, a picture
makes a topic easier to understand and remember. I have included
plenty of illustrations in the book to aid readers in understanding and
visualizing the contents. Developers who have little or no programming
experience have difficulty in putting things together to make it a
complete program. Keeping them in mind, we have included over 290
complete Java programs that are ready to be compiled and run in the
book.
I spent countless hours doing research for writing this book. My
main source of research was the Java Language Specification,
whitepapers and articles on Java topics, and Java Specification Requests
(JSRs). I also spent quite a bit of time reading the Java source code to
learn more about some of the Java topics. Sometimes, it took a few
months researching a topic before I could write the first sentence on
the topic. Finally, it was always fun to play with Java programs,
sometimes for hours, to add them to the book.
Audience
This book is designed to be useful to anyone who wants to learn the
Java programming language. If you are a beginner, with little or no
programming background, you need to read the first chapter to the last
in order. The book contains topics of various degrees of complexity. As a
beginner, if you find yourself overwhelmed while reading a section in a
chapter, you can skip to the next section or the next chapter and revisit
it later when you gain more experience.
If you are a Java developer with an intermediate or advanced level of
experience, you can jump to a chapter or to a section in a chapter
directly. If a section uses an unfamiliar topic, you need to visit that topic
before continuing the current one.
If you are reading this book to get a certification in the Java
programming language, you need to read almost all of the chapters,
paying attention to all the detailed descriptions and rules. Most of the
certification programs test your fundamental knowledge of the
language, not the advanced knowledge. You need to read only those
topics that are part of your certification test. Compiling and running
over 290 complete Java programs will help you prepare for your
certification.
If you are a student who is attending a class on the Java
programming language, you need to read the first ten chapters of this
book thoroughly. These chapters cover the basics of the Java
programming language in detail. You cannot do well in a Java class
unless you first master the basics. After covering the basics, you need to
read only those chapters that are covered in your class syllabus. I am
sure you, as a Java student, do not need to read the entire book page by
page.
Source Code
Source code for this book can be accessed by clicking the Download
Source Code button located at
www.apress.com/us/book/9781484273067.
Any source code or other supplementary material referenced by the
author in this book is available to readers on GitHub via the book’s
product page, located at www.apress.com/9781484273067. For
more detailed information, please visit
http://www.apress.com/source-code.
Acknowledgments
I would like to thank my family members and friends for their
encouragement and support: my mom, Pratima Devi; my elder
brothers, Janki Sharan and Dr. Sita Sharan; my nephews, Gaurav and
Saurav; my sister, Ratna; my friends Karthikeya Venkatesan, Rahul
Nagpal, Ravi Datla, Mahbub Choudhury, and Richard Castillo; and many
more friends not mentioned here.
My wife, Ellen, was always patient when I spent long hours at my
computer desk working on this book. I want to thank her for all of her
support in writing this book.
My special thanks to my friend Preethi Vasudev for offering her
valuable time for providing solutions to the exercises in this book. She
likes programming challenges—particularly Google Code Jam. I bet she
enjoyed solving the exercises in each chapter of this book.
My sincere thanks are due to the wonderful team at Apress for their
support during the publication of this book. Thanks to Mark Powers,
Editorial Operations Manager, for providing excellent support. Last but
not least, my sincere thanks to Steve Anglin, Lead Editor at Apress, for
taking the initiative for the publication of this book.
—Kishori Sharan
Table of Contents
Chapter 1:Programming Concepts
What Is Programming?
Components of a Programming Language
Programming Paradigms
Imperative Paradigm
Procedural Paradigm
Declarative Paradigm
Functional Paradigm
Logic Paradigm
Object-Oriented Paradigm
What Is Java?
The Object-Oriented Paradigm and Java
Abstraction
Encapsulation and Information Hiding
Inheritance
Polymorphism
Summary
Chapter 2:Setting Up the Environment
System Requirements
Installing JDK 17
The JDK Directory Structure
Verifying the JDK Installation
Starting the JShell Tool
Installing NetBeans 12
Configuring NetBeans
Summary
Chapter 3:Writing Java Programs
The Goal Statement
Using the JShell Tool
What Is a Java Program?
Writing the Source Code
Writing Comments
Declaring a Module
Declaring Types
Package Declaration
Import Declarations
Class Declaration
Types Have Two Names
Compiling the Source Code
Packaging the Compiled Code
Running a Java Program
Playing with Module Options
Listing Observable Modules
Limiting the Observable Modules
Describing a Module
Printing Module Resolution Details
Dry-Running Your Program
Enhancing a Module Descriptor
Running Java Programs in Legacy Mode
Duplicate Modules on a Module Path
Syntax for Command-Line Options
Other documents randomly have
different content
the respiratory movements and was regarded by Sir George
Humphry, who tested for it by estimating the elasticity perceived
when gentle pressure is exerted on the lower part of the sternum, as
a bad omen for the future.
The teeth are usually, but not invariably, few in the aged, for
care or lack of it, the accumulated effect of long-continued
mechanical injuries, altered calcium metabolism, and diminished
resistance to infection will necessarily influence the amount of decay.
Statistics, especially Humphry’s, show that in extreme old age very
few teeth are present, and it is tempting to correlate the diminished
provision for mastication with the lessened need for food. Sir Isaac
Newton, however, at the age of 85 was said to have lost one tooth
only. The numerous reputed instances of a third dentition can be
explained only by the appearance of a previously buried tooth
through the atrophying gums, for a genuine third dentition would
necessitate the presence of dental germs which do not exist.
The gastro-intestinal tract shows atrophy of the muscular coat
and its secreting glands, so that dilatation of the thin-walled, pale
stomach and colon occur on less provocation than in adult life and
digestion is impaired; from lack of mucous secretion combined with
loss of motor vigour constipation is common. It may be added that
hypertrophy of the prostate by interfering with peristalsis of the
151
colon has been thought to cause gerontal constipation (Hollis ).
The pancreas shows fibrotic atrophy and becomes smaller and
harder. From the loss of fat and muscular atrophy visceroptosis is
not uncommon.
The liver diminishes in size and weight by about one half;
atrophy of considerable areas may expose the vessels and ducts on
the surface of the organ. Boyd’s tables show a difference of 18 oz.
between the weights in persons in the decade 20–30 and in those
over 80. Microscopically atrophy of the lobules and of the cells in the
152
centres of the lobules have been described (Luciani ), but the
latter change is not constant, for in a woman of 93 Salimbeni and
153
Gery definitely noted that the cells were not atrophied. That such
atrophy of the liver cells is pathological is perhaps supported by D.
154
Symmers’s observation that in the pancreas of such cases the
islands of Langerhans may show moderate enlargement, as if to
compensate for failure of the glycogenic function of the liver.
Pigmentation of the cells by a lipochrome is excessive, and the name
brown atrophy has been applied to the condition which is seen in the
other viscera of the old.
The lungs become smaller, lighter, and the elastic tissue
degenerates; this is atrophous emphysema, and the chest capacity
155
diminishes. Roussy and Leroux found that these lungs commonly
show endarteritis obliterans and fibrosis, conditions which favour
infarction, infection, and the terminal bronchopneumonia to which
the aged are so prone.
156
The voluntary muscles, according to Durante, contain many
157
fibres with large globules of fat; but Jewesbury and Topley, who
describe coarse fat globules mingled with brown pigment in the
immediate neighbourhood of the muscle nuclei in 50 per cent of
cases of various kinds, and almost constantly in old subjects, regard
this condition as independent of true fatty degeneration, and are
doubtful if it has any pathological significance. Excessive fatty and
fibrotic change is found in cases of senile paraplegia without any
lesion in the spinal cord or brain.
Heart.—Some difference of opinion exists as to the condition of
158
the heart; Parkes Weber says that the only true senile change is
diminution in size and weight; this as it is worded is no doubt
correct; but pure atrophy is less rare in the heart than in most parts
159
of the senile body. Charcot indeed stated that it does not atrophy
in old age, but preserves the dimensions of middle life. The heart
may even hypertrophy in old people; this is pathological;
160
Councilman found it in 248, or 43 per cent, of 580 persons over
60 years of age, and could not refer it to aortic or renal
arteriosclerosis or to the diminished capillary area in the skin; but
the average blood pressure 158 systolic/88 diastolic of the cases
with cardiac hypertrophy was higher than that 130/78 of the others.
Fatty degeneration of the myocardium is very frequent; Charcot
stated that at the Salpêtrière it was almost constant in old women,
but according to Councilman there is no clear evidence that it
produces permanent injury or functional insufficiency; he noted
some fibrosis in 15 per cent of his cases. Atrophy of the epicardial
fat—serous atrophy—is common, and increase of the so-called
lipochrome pigment in the muscular fibres which become smaller
and fewer—brown atrophy—is frequent as it is in the other organs in
old age.
Chronic valvulitis and subendocardial fibrosis are, like
arteriosclerosis, common morbid changes.
Arteriosclerosis, contrary to what has been stated by Huchard
and others, is not constant in a considerable degree in old people,
and therefore cannot, as Demange and others considered, be
regarded as the cause of the atrophic changes seen in old age.
Arteriosclerosis is due to several factors, namely, infection and
intoxication of various kinds and to damage caused by long-
continued high arterial blood pressure. The primary changes are
degeneration and weakness, however brought about, in the middle
161
coat. Ophülz has recently discussed the question whether the
degeneration is entirely or largely a senile change; if it were so, the
curve of the incidence of arterial sclerosis would begin gradually
about the age of 40 years, so as to include premature cases, and
rise slowly until the age of 55 years, when there would be a sudden
increase to 80 or 90 per cent, and at the age of 70 it would be
improbable that any one would be free from well-marked
arteriosclerosis. He found that the curve of incidence was very
different from this; beginning much earlier its rise is gradual all the
way without any sudden increase, and indeed seems, if anything, to
be retarded by old age. Old persons may have practically healthy
arteries, so, although arteriosclerosis may undoubtedly produce
atrophy and senile changes in the tissues and organs by diminishing
the blood supply, for example in the case of the red granular kidney,
it cannot be regarded as the causal factor in healthy old age.
The primary calcification of the middle coat, sometimes called
Mönckeberg’s sclerosis, which leads to the formation of regular rings
in the degenerated muscular media and the “pipe-stem” arteries
associated with senile gangrene, may be independent of, or
combined with, endarterial sclerosis. It follows fatty degeneration of
the media, which is the commonest form of medial degeneration in
162
the aged, and specially picks out the elastic fibres. The femoral,
tibial, radial arteries and the aorta are most often affected. It is
difficult to estimate its incidence, but that it is not very common, at
any rate in a high degree, seems probable from the comparative
infrequency of its detection in x-ray examinations of the lower limbs
in old people. It would be natural to associate its occurrence with
the rarefaction of bone that goes on in advanced life, and so to
consider it as in some respects different from the secondary
calcification in endarteritic sclerosis; in answer to an enquiry
Professor W. T. Councilman of Harvard kindly wrote to me that he
did not regard calcification as characteristic of any particular type of
arterial disease, lime salts being in certain cases more easily
deposited in any pre-existing lesions. Klotz describes fatty and
calcareous change in the middle third of the media of the aorta as
quite characteristic of senescence.
Cazalis’s famous aphorism “man is as old as his arteries” is true
in so far that the state of the arteries is a good index of the general
condition, for they are extremely prone to suffer as the result of
infection, toxaemia, and strain; strictly speaking, therefore, the state
of the arteries is not so much an index of the individual’s age as of
his adventures.
Phlebosclerosis, analogous to arteriosclerosis, is common, and
dilatation, often due to stagnation and lack of the normal vis a tergo,
of the veins is a familiar change in the aged.
The capillary area is diminished in the skin and elsewhere, but
not uncommonly there are dilated venules or angiomas on the skin;
the latter, commoner on the trunk and upper limbs and in men, were
formerly known as “de Morgan’s spots” and were thought to
accompany cancer, but the association is only due to a rough
correspondence of their age incidence.
The blood of healthy octogenarians may not show any departure
from that of the earlier periods of life as regards the number of the
163
reds and the amount of haemoglobin (Hansen ), though some
have described a secondary anaemia. Thus in a female centenarian
164
Macnaughton found slight secondary anaemia with a normal
number of leucocytes, the differential count showing a relative
lymphocytosis. The red bone marrow diminishes, its place being
taken by fat cells.
The lymphoid tissues undergo atrophy all over the body
including the leucoblastic bone marrow, but though it does not
appear that the blood shows any definite change in the leucocyte
count it is tempting to correlate the diminution of resistance to acute
infections, such as pneumonia and erysipelas, with the atrophy of
the lymphoid tissue. The alimentary canal often shows lymphoid
atrophy in a high degree, but two normal Peyer’s patches were
165
present in a man reputed to be 106 years old (G. Rolleston ).
The spleen, in common with the lymphoid tissues elsewhere,
shows atrophy, sometimes to an extreme degree, so that instead of
the normal weight of 7 oz. it weighs a few drams only. The capsule
is thrown into folds, and is somewhat opaque; from atrophy of the
pulp and Malpighian corpuscles the vessels and fibrous trabeculae
become prominent. The thymus, contrary to the general opinion that
it undergoes involution long before puberty, has been found by
166
Hammar to increase in size up to puberty when involution begins,
but proceeds so gradually that even in old age it is functional.
The thyroid, unless there is cystic change, is smaller than
natural; thus out of 40 thyroid glands from individuals between the
ages of six months and 77 years the smallest was in a woman aged
167
77 (Hale-White ). In colour it is darkish brown and on section
rather dry. Dr. Donaldson, Lecturer on Pathology at St. George’s
Hospital, has specially examined 19 thyroid glands from patients
between the ages of 57 and 93; of these five showed cystic change;
they all showed increase in the amount of fibrous tissue which was
progressive with age, and in the absence of cystic change the size of
the vesicles and amount of colloid material were diminished.
The Parathyroids.—From examination of a number of specimens
Dr. Donaldson finds that in old people the parathyroids appear to be
free from retrogressive changes, but he cautiously requires further
experience before concluding that this is the rule.
The adrenals show involutionary atrophy in common with the
body as a whole, but sometimes the cortex is enlarged from excess
of lipoids, usually associated with considerable atheroma, and may
also show adenomas. As the increase in size of the adrenals is
cortical its relation to high blood pressure, if any, is that of a remote
result, namely from arteriosclerosis, and not causal as has been
168
suggested. According to G. M. Findlay the amount of lipochrome
in the cells of the adrenals increases with advancing years and is
accompanied by the appearance of melanin in their nuclei.
169
The kidneys show definite atrophy, and Councilman, who has
recently made a study of them in 580 persons over 60 years of age,
calls the condition chronic atrophic nephropathy. The fat in the renal
pelvis is more obvious than usual, the capsules are slightly thickened
and occasionally but by no means always adherent, the surface
finely rough and sometimes showing small cysts, but the large and
irregular depressions characteristic of a granular kidney are not
common. There are, however, areas of fibrosis, and the cortex and
medulla are equally atrophied. Microscopically some glomeruli are
fibroid, others smaller than natural. In three-fourths of his cases the
renal vessels showed arteriosclerosis due to primary atrophy of the
media with compensatory hypertrophy of the intima; but Councilman
gives reasons for hesitation in accepting the obvious conclusion that
the senile kidney is the result of the vascular change.
The prostate shows some degrees of enlargement after the age
of fifty in the vast majority of men, but in only a percentage of these
170
are there symptoms referable to it. Kenneth Walker finds that the
maximum size is reached at the age of 60 and that from then
onwards there is a slow diminution in size; among 340 men between
80 and 90 there were 11, or 3·2 per cent, and among 92 men
between 90 and 100 one only with hypertrophy of the prostate
(Humphry). The causation of prostatic hypertrophy has been much
171
discussed; that its association with arteriosclerosis (Launois ) is
anything more than a coincidence, the two conditions being common
in the later years of life, seems improbable; Walker found the two
associated in 10 per cent, and he regards the change as part of a
general enlargement and thickening of the peri-urethral, sub-
cervical, and sub-trigonal glands, and, as the interstitial cells in the
testes become fewer and degenerated, he considers that the
prostatic enlargement is possibly a degeneration connected with a
172
disturbance of the endocrine balance. Nemenow argued that
prostatic enlargement was due to proliferation of the interstitial cells
following senile atrophy of the seminal tubules of the testes, but K.
Walker found that in prostatic enlargement the interstitial cells are
diminished rather than increased in number. An interesting parallel
has been drawn between the involutionary changes in the mamma
and the prostate, and it is probable that the same underlying factor
173
is at work in both (Walker, Paul). Hertoghe regarded some cases
of prostatic hypertrophy as due to senile dysthyroidism, and recently
benefit has been reported from thyroid medication and also from
prostatic extract. Dr. Leonard Williams has told me of cases, as yet
unpublished, showing well-marked relief of symptoms and
diminution in the size of prostatic enlargement after doses of thyroid
extract (½ grain once) and colloidal iodine (one dram three times)
daily. The prostatic plexus of veins is often enlarged and may contain
phleboliths.
The testes become smaller, softer, and commonly show some
atrophy of the tubules with disappearance of the epithelial lining and
thickening of the basement membrane; but the testes of old men
may be free from any such change and the spermatozoa in the
vesiculae seminales may be active. According to K. Walker the
interstitial cells gradually diminish in number from the age of 30, but
174
they may be present in men over 80, and Mott remarks that their
persistence may account for an increased and perverted sexual
appetite, due to stimulation of the desire without the power to
perform the sexual act.
The penis becomes smaller, often retracted, the glans harder,
and the scrotum smaller.
The ovaries become shrivelled and fibrotic; the ova disappear or
small cysts may form. It is difficult to find statements about the
presence or absence of interstitial cells in the senile ovary. Professor
Turnbull has kindly informed me that in old women an occasional cell
which might be, but is not certainly, an interstitial cell is visible, and
that if they are interstitial cells their number must be small and their
development poor.
The uterus becomes small, its cavity round, and the cervical
canal may be obliterated. The external genitals atrophy.
The mamma in women shows involution changes and when
175
excessive (cystic disease) these may, as Paul has pointed out, be
compared with prostatic enlargement in the male.
VII
When first approaching the subject of old age every one must
recall the famous description in the first six verses of the twelfth
chapter of Ecclesiastes beginning “Remember now thy Creator in the
days of thy youth while the evil days come not, nor the years draw
nigh when thou shalt say I have no pleasure in them.” Formerly
ascribed to King Solomon (977 B.C.) the book of Ecclesiastes (in
Hebrew Koheleth = the preacher) has been shown by the higher
criticism to date only from the end of the third century B.C., and from
internal evidence, namely references to the brain, spinal cord, and
other anatomical structures, though expressed with poetic imagery,
it may fairly be assumed that a medical man was concerned with its
195
construction. In his attractive work, A Gentle Cynic, the late
Professor Morris Jastrow, jun., of Philadelphia explained that the
book of Ecclesiastes as it appears in the authorized version, consists
of (i.) the original, cynical, but good-natured obiter dicta of the
unknown dilettante who preferred to veil his identity under the name
of Koheleth, and (ii.) additions and modifications made by various
hands to render it more orthodox and compatible with the tradition
that it was written by Solomon; thus the admonition “of making
books there is no end and much study is a weariness of the flesh”
may very probably have been intended as a hint that Koheleth’s
views should not be taken too seriously. Following this conception
Jastrow reconstructed the text of the book of Ecclesiastes to what he
argued was its original form, and compared it with the more modern
writings of Omar Kháyyám and Heinrich Heine. As we all must have
speculated over the correct interpretation of the various metaphors
in this description of the last stage of life, the explanations offered
196
by others, such as Andreas Laurentius (1599), Master Peter Lowe
197
(1612), founder of the Faculty of Physicians and Surgeons of
198 199
Glasgow, Bishop J. Hall (1633), John Smith (1665), Richard
200
Mead (1775), and Jastrow may be very briefly mentioned. The
second verse, “While the sun, or the light, or the moon, or the stars,
be not darkened, nor the clouds return after the rain,” is regarded by
Laurentius, Lowe, and Hall as referring to the ocular disabilities of
old age, whereas Smith and Mead consider that mental failure and
depression are meant. As regards the third verse, “In the day when
the keepers of the house (the hands) shall tremble, and the strong
men (the legs) shall bow themselves (become bent), and the
grinders (teeth) cease because they are few, and those that look out
of the windows (the eyes) be darkened,” there is general agreement,
Lowe specially designating cataract as meant in the last sentence.
“And the doors shall be shut in the streets,” is regarded as referring
to the mouth by Laurentius and Mead, and to the various orifices
including the results—constipation and dysuria—by Smith; “when the
sound of the grinding is low,” is considered by Jastrow to mean
impaired hearing, and by Smith as a lowered rate of metabolic
processes, such as assimilation, blood formation, and various
secretions. “And he shall rise up at the voice of the bird,” implies,
according to Smith and Mead, the early waking of the elderly; “and
all the daughters of music shall be brought low” signifies to
Laurentius the failure of voice, to Mead deafness, and to Smith all
the organs concerned with sounds, namely the lips, tongue, larynx,
and the auditory apparatus. “Also when they shall be afraid of that
which is high, and fears shall be in the way” is regarded by Smith as
describing the general mental attitude of anxiety for things both
small and great and a bad head for height, but a more modern
commentator suggests that “afraid of that which is high” refers to
dyspnoea on climbing a hill. “And the almond tree shall flourish” is
by Laurentius, Hall, and Smith thought to refer to the white hair or
“churchyard flowers” of the old, but Mead argued that loss of smell
is meant. “And the grasshopper shall be a burden” has been very
variously interpreted: Hall is content to accept the literal meaning
that the least weight is a nuisance; Laurentius and Lowe understand
oedema of the legs; John Smith that the aged body undergoes the
reverse change of shrivelling, hardening, and angularity; Mead
suggests scrotal hernia, and Jastrow, as according to the Talmud the
grasshopper is a symbol for the male sexual organ, considers that
the sentence refers to the loss of sexual activity. In the sixth verse
the words “Or ever the silver cord be loosed,” refers, according to
Laurentius, Lowe, Mead, and Jastrow, to kyphosis, but Smith
translates them into paralysis of the spinal cord and nerves. “Or the
golden bowl be broken,” signifies cardiac failure to Laurentius and
Lowe, but cerebral haemorrhage to Smith, who thus explains the
next line, “or the pitcher (the veins) be broken at the fountain (the
right ventricle), or the wheel (the arterial circulation) broken at the
cistern” (the left ventricle), and therefore concludes that King
Solomon was perfectly acquainted with the circulation of the blood
discovered by William Harvey in 1616. “The pitcher” is regarded as
the vena cava by Laurentius, and as the urinary bladder by Mead
and Jastrow; “the wheel broken at the cistern” suggests the kidneys
and bladder to Laurentius and Lowe, cardiac failure to Mead, and
intestinal and hepatic insufficiency to Jastrow.
IX