Buy ebook Programming in Java Sachin Malhotra cheap price
Buy ebook Programming in Java Sachin Malhotra cheap price
com
https://textbookfull.com/product/programming-in-java-sachin-
malhotra/
OR CLICK BUTTON
DOWNLOAD NOW
https://textbookfull.com/product/java-programming-joyce-farrell/
textboxfull.com
https://textbookfull.com/product/java-programming-joyce-farrell-2/
textboxfull.com
https://textbookfull.com/product/computer-graphics-programming-in-
opengl-with-java-gordon/
textboxfull.com
https://textbookfull.com/product/murach-s-java-programming-joel-
murach/
textboxfull.com
Learning Java An Introduction to Real World Programming
with Java Marc Loy
https://textbookfull.com/product/learning-java-an-introduction-to-
real-world-programming-with-java-marc-loy/
textboxfull.com
https://textbookfull.com/product/learning-java-beginning-programming-
with-java-for-dummies-first-edition-john-bach/
textboxfull.com
https://textbookfull.com/product/java-network-programming-fourth-
edition-harold-elliotte/
textboxfull.com
https://textbookfull.com/product/java-performance-in-depth-advice-for-
tuning-and-programming-java-8-11-and-beyond-2nd-edition-scott-oaks/
textboxfull.com
https://textbookfull.com/product/introduction-to-programming-in-java-
an-interdisciplinary-approach-2nd-edition-robert-sedgewick/
textboxfull.com
Programming in
Java
Second Edition
SACHIN MALHOTRA
Associate Professor
IMS, Ghaziabad
SAURABH CHOUDHARY
Formerly, Head
IT Department
IMS, Ghaziabad
1
3
Oxford University Press is a department of the University of Oxford.
It furthers the University’s objective of excellence in research, scholarship,
and education by publishing worldwide. Oxford is a registered trade mark of
Oxford University Press in the UK and in certain other countries.
Published in India by
Oxford University Press
YMCA Library Building, 1 Jai Singh Road, New Delhi 110001, India
ISBN-13: 978-0-19-809485-2
ISBN-10: 0-19-809485-X
Sachin Malhotra is currently Associate Professor in the IT department of IMS Ghaziabad. He has more
than a decade long experience in mentoring students on developing Java applications as well as training
practising professionals in the field of Java. He has also designed and conducted various corporate
trainings in Java and networking.
Saurabh Choudhary is currently a practising IT consultant and corporate trainer. He has more than 12
years of experience in industry, academia, and consultancy. He has worked on positions of eminence
at IMS Ghaziabad as Head of IT department and Dean Academics (University Campus). His areas of
expertise include Java, Database Management System, and Information Systems.
Testimonials
From pervasive computing to communications industry, medical science to aerospace, Java is
gaining a foothold in every domain. Programming in Java has been written to arouse the interest
even in a novice computer programmer to an expert, craving to sharpen his programming skills.
Pankaj Verma | Senior Software Engineer | OSI Inc.
It is definitely the best textbook on Java that I have run into. I highly recommend it.
Sachin Dhama | Team Lead | Accenture
Java is a very powerful language for developing enterprise applications. I am hopeful that this
book will provide a basic building platform for Java programmers to enhance their knowledge.
Awadhesh Kumar Katiyar | Technical Lead | HCL Technologies Ltd.
Java enables users to develop applications on the Internet for servers, desktops computers, and small
handheld devices. The future of computing is being influenced by the Internet, and Java promises to
play a big part in it. This book is perfect for those who are seeking a clear understanding of Java. It
should allow the readers to create codes that are a lot clearer and are far more effective than before.
Saurabh Moondhra | Sr. Technical Consultant | SGT Inc
This is the most interesting Java programming book for beginners; at the same time, it is equally
good for intermediate readers as well. This should be your first Java book if you are learning
from scratch.
Pankaj Jain | Senior Manager | Bank of America
When you go through this book, you will gain confidence after completing each chapter. The
authors have written it in such a simple way covering each and every aspect of Java that anyone
can learn how to develop effective codes.
Rajeev Varshney | Lead Consultant | HCL NZ Ltd.
Preface to the First Edition
Java was primarily designed as a platform-independent language for usage in small consumer
electronic devices. It was derived from C++ but with a lot of difference. Java’s platform
independence originally addressed the problem that applications for embedded devices must
run on a wide variety of hardware. But since the Internet was emerging at the same time, Java
soon got adopted as an Internet language because of its portable nature. Major Internet browsers
such as Netscape Navigator and Microsoft Internet Explorer became Java-compatible, as it
effectively addressed the concerns for security by providing a firewall between web applications
and the computer. Eventually it became a standard programming language and is now being
used for creating a variety of applications including standalone applications, web applications,
enterprise-wide applications, and mobile games.
It can therefore be inferred that since its inception, Java has emerged as the most important
programming language. As the domain of Java is quite vast and a bit more complex than other
programming languages such as C, C++, and Visual Basic, it is observed that students and novice
programmers strive hard to comprehend its core concepts. Hence, a need for a book in this area,
which is both concise and simple, is a necessity.
About the Book
The book encapsulates the concepts of the latest version of Java, i.e. Java 6, encompassing a
comprehensive coverage of curriculum and industry expectations. It is useful for the students of
undergraduate and postgraduate courses of computer science and engineering and information
technology disciplines as well as for the instructors at various levels.
The book provides a thorough understanding of the basic concepts of object-oriented
programming principles and gradually moves on to the advanced concepts in Java. It includes
numerous examples, line-by-line description of examples, figures, explanation of concepts, and
key notes. Review questions and programming exercises are included as chapter-end exercises
to assess the learning outcomes. Every topic in the book is supported by examples followed
by an output and explanation. It also offers an appendix on general interview questions which
provides students an insight into the current requirements of the industry and allows them to
prepare accordingly.
The main features of this book include the following:
an exhaustive coverage of Java features such as operators, classes, objects, inheritance,
logging API, console class, StringBuilder class, NetworkInterface class, and assertions
latest features combined with core concepts such as multithreading, applets, AWT, and
swings
an introduction to the advanced concepts in Java such as servlets, RMI, and JDBC
Preface to theLab
Appendix A: Lab Manual—Java First Edition XIxi
Exercises
ACKNOWLEDGEMENTS
Several people have been instrumental throughout this tiring yet wonderful journey. First of all,
we would like to express our sincere gratitude to our families without whose support, patience,
and cooperation, this would not have been possible and we would not have been what we are
today. We are very thankful to Dr R. K. Bharadwaj, Head of our institution, for his inspirational
thoughts which inculcated urgency for writing this book. We are also thankful to our colleagues
for their endless support and suggestions during the entire process of writing this book.
Sachin Malhotra
Saurabh Choudhary
Preface to the Second Edition
Java is an easy-to-learn, versatile, robust, portable, and secure language with rich user interfaces.
It has set up new benchmarks in the software development world ranging from desktop to web-
based enterprise applications to mobile and embedded applications. Since its inception in 1995,
it has come a long way by continuously evolving itself and in the process, changing the style of
programming the world over. Java is not only found in laptops or data centres, it is also widely
used in cell phones, SIM cards, smart cards, printers, routers and switches, set-top boxes, ATMs,
and navigation systems, to name a few. According to Oracle, a staggering 1.1 billion desktops
and 3 billion cell phones are based on Java.
This second edition of Programming in Java confirms to Java Standard Edition 7, the latest
release since Oracle took over Sun Microsystems. It is significant in the sense that the last update
was six years back and this major release comes bundled with plenty of enhancements which were
overdue. To list a few noticeable enhancements, Java 7 includes support for strings in switch and
try-with-resources statements, improved multi-catch, binary numeric literals, numeric literals
with underscores, new APIs in NIO such as path and files, automatic resource management, and
much more. All the new topics are appropriately explained with suitable examples.
New to the Second Edition
This revised edition has been updated thoroughly with greater topical coverage as well as more
programming examples in every chapter, in addition to the confirmation to Java 7. Practically
every chapter, with the exception of Chapter 11, has been revisited to refine the text as much as
possible. The most noticeable changes are as follows:
New practical programming examples to show how Java is used in practice.
Enhanced coverage of servlets and JDBC along with an introduction to JSP, Java beans,
Appendix B contains more interview questions to help students prepare for their interviews.
The second edition is supplemented with a rich online resource centre that contains chapter-
wise PPTs for teachers and additional practical programming examples for students.
Key Features
The most prominent feature of this book has been the line-by-line explanation section under
each program. They facilitate in-depth understanding of the whole program. We have retained
this feature in the second edition as it has been well appreciated by the users. Other noticeable
features include the following:
Preface to the Second Edition vii
forms the core of the java.util package. This concept along with its application has been covered
in detail.
Chapter 11 explains how network programming can be done in Java. In-depth coverage of
sockets is extended in this chapter. Client and server concept is illustrated by the programs
created. TCP and UDP clients and server and their interactions are demonstrated. The concept
of multithreading is merged with socket and illustrated to create server programs. Some main
classes such as URL, URL connection, and network interface (new feature) are also discussed.
Chapter 12 focuses on applets, its lifecycle, methods, etc. and how they are different from
applications. Besides providing an in-depth coverage of java.applet package, some of the
classes of java.awt package are also discussed as they are very useful in creating applets such
as Graphics class, Font class, Color class, and FontMetric class. All these classes are discussed
and supported by an example for each of them.
Chapter 13 talks about event handling in Java. Basically for creating effective GUI applications,
we need to handle events and this forms the basis of this chapter. The event handling model is
not only discussed but applied throughout the chapter. All the approaches to event handling have
been discussed such as Listener interfaces, Adapter classes, inner classes, and anonymous inner
classes.
Chapter 14 focuses on GUI creation through java.awt package. It has an in-depth coverage
of containers and components. Containers like Frame, Window, etc. and components like Label,
Button, TextField, Choice, Checkbox, List, etc. are discussed in detail. How the components can
be arranged in a container is also discussed, e.g. BorderLayout, GridBagLayout, and GridLayout.
Chapter 15 shows how to create more advanced and lightweight GUI applications in Java.
More advanced layouts like SpringLayout have been discussed. Lightweight components like
JButton, JLabel, JCheckBox, JToggleButton, JList, JScrollPane, JTabbedPane, etc. have been
discussed. How to create Dialogs is also discussed. The pluggable look and feel of Java is
explained in detail.
Chapter 16 focuses on advanced Java concepts such as servlets, JDBC, and RMI. An
introduction to the advanced technologies has been discussed. This chapter is equipped with
numerous figures showing how to install the necessary softwares required for executing an
advanced Java program. The chapter also provides a step-by-step and simplified approach on
how to learn advanced concepts.
Appendix A on practical lab problems will facilitate better understanding of the concepts
explained in the book. Appendix B includes a list of interview questions along with their answers
that provides an overview of the industry scenario and their requirements.
ACKNOWLEDGEMENTS
Several people have been instrumental throughout this tiring yet wonderful journey. First of all, we
would like to express our sincere gratitude to our families without whose support, patience, and
cooperation, this would not have been possible and we would not have been what we are today.
We are also thankful to our colleagues and friends for their endless support and suggestions
during the entire process of writing this book. Lastly, we would also like to thank all our readers
/students who have supported us, encouraged us, and provided feedback to us regularly which
has helped us in shaping this edition.
Sachin Malhotra
Saurabh Choudhary
Brief Contents
Preface to the Second Edition vi
Preface to the First Edition x
Detailed Contents xiii
1. Introduction to OOP 1
2. Getting Started With Java 12
3. Java Programming Constructs 42
4. Classes and Objects 74
5. Inheritance 132
6. Interfaces, Packages, and Enumeration 156
7. Exception, Assertions, and Logging 199
8. Multithreading in Java 224
9. Input/Output, Serialization and Cloning 256
10. Generics, java.util and other API 296
11. Network Programming 336
12. Applets 354
13. Event Handling in Java 394
14. Abstract Window Toolkit 429
15. Swing 495
16. Introduction to Advanced Java 553
Appendix A: Lab Manual 628
Appendix B: Interview Questions 650
Index 657
Detailed Contents
Preface to the Second Edition vi
Preface to the First Edition x
comprehend the problems in procedural programming and how OOP overcomes them
1.1 INTRODUCTION
Object-oriented programming (OOP) is one of the most interesting and useful innovations in
software development. OOP has strong historical roots in programming paradigms and practices.
It addresses the problems commonly known as the software crisis. Software have become
inherently complex which has led to many problems within the development of large software
projects. Many software have failed in the past. The term ‘software crisis’ describes software
failure in terms of
Exceeding software budget
Software not meeting clients’ requirements
Bugs in the software
OOP is a programming paradigm which deals with the concepts of object to build programs
and software applications. It is modeled around the real world. The world we live in is full of
objects. Every object has a well-defined identity, attributes, and behavior. Objects exhibit the
same behavior in programming. The features of object-oriented programming also map closely
to the real-world features like inheritance, abstraction, encapsulation, and polymorphism. We
will discuss them later in the chapter.
2 Programming in Java
Note If we try to represent the CPU of a computer in OOP terminology, then CPU is the object.
The CPU is responsible for fetching the instructions and executing them. So fetching and
executing are two possible functions (methods or behavior) of CPU. The place (attributes)
where CPU stores the retrieved instructions, values and result of the execution (registers) will
then be the attributes of the CPU.
1.3.3 Abstraction
Can you classify the following items?
Elephant CD player
Television Chair
Table Tiger
How many classes do you identify here? The obvious answer anybody would give is three, i.e.,
Animal, Furniture, and Electronic items. But how do you come to this conclusion? Well, we
grouped similar items like Elephant and Tiger and focused on the generic characteristics rather
than specific characteristics. This is called abstraction. Everything in this world can be classified
as living or non-living and that would be the highest level of abstraction.
Another well-known analogy for abstraction is a car. We drive cars without knowing the
internal details about how the engine works and how the car stops on applying brakes. We are
happy with the abstraction provided to us, e.g., brakes, steering, etc. and we interact with them.
In real life, human beings manage complexity by abstracting details away. In programming,
we manage complexity by concentrating only on the essential characteristics and suppressing
implementation details.
4 Programming in Java
1.3.4 Inheritance
Inheritance is the way to adopt the characteristics of one class into another class. Here we have
two types of classes: base class and subclass. There exists a parent–child relationship among
the classes. When a class inherits another class, it has all the properties of the base class and it
adds some new properties of its own. We can categorize vehicles into car, bus, scooter, ships,
planes, etc. The class of animals can be divided into mammals, amphibians, birds, and so on.
The principle of dividing a class into subclass is that each subclass shares common
characteristics with the class from where they are inherited or derived. Cars, scooters, planes,
and ships all have an engine and a speedometer. These are the characteristics of vehicles. Each
subclass has its own characteristic feature, e.g., motorcycles have disk braking system, while
planes have hydraulic braking system. A car can run only on the surface, while a plane can fly
in air and a ship sails over water (see Fig. 1.1).
Vehicle
1.3.6 Polymorphism
Polymorphism simply means many forms. It can be defined as the same thing being used in
different forms. For example, there are certain bacteria that exhibit in more than one morphological
form. In programming, polymorphism is of two types: compile-time and runtime polymorphism.
Runtime polymorphism, also known as dynamic binding or late binding, is used to determine
which method to invoke at runtime. The binding of method call to its method is done at runtime
and hence the term late binding is used. In case of compile-time polymorphism, the compiler
determines which method (from all the overloaded methods) will be executed. The binding of
method call to the method is done at compile time. So the decision is made early and hence
the term early binding. Compile-time polymorphism in Java is implemented by overloading
and runtime polymorphism by overriding. In overloading, a method has the same name with
different signatures. (A signature is the list of formal argument that is passed to the method.)
In overriding, a method is defined in subclass with the same name and same signature as that
of parent class. This distinction between compile-time and runtime polymorphism is of method
invocation. Compile-time polymorphism is also implemented by operator overloading which
is a feature present in C++ but not in Java. Operator overloading allows the user to define new
meanings for that operator so that it can be used in different ways. The operator (+) in Java is
however an exception as it can be used for addition of two integers as well as concatenation of
two strings or an integer with a string. This operator is overloaded by the language itself and
the Java programmer cannot overload any operator.
Employee Class
name
address
designation Attributes
salary
addEmployee
deleteEmployee Behavior
searchEmployee
:Employee Object
name=peter
address=NY
designation=manager Attributes
salary=10000
addEmployee
deleteEmployee
searchEmployee
An instance of a class can be related to any number of instances of other class known as
multiplicity of the relation. One-to-one, one-to-many, and many-to-many are different types
of multiplicities that exist among objects. The multiplicities along with their examples and
respective notations are shown below. Figure 1.5(a) illustrates the generic notation for representing
multiplicity in object-oriented analysis and design. One-to-one mapping is shown as a straight
line between the two classes. Figure 1.5(b) shows the UML notation for demonstrating the one-
to-one mapping. The 1..1 multiplicity depicted on the straight line (both ends) indicates a single
instance of a class is associated with single instance of other class. Figure 1.5 shows that each
country has a president and a president is associated with a country.
(a) (b)
A country has many states and many states belong to a country. So there exists a one-to-many
relationship between the two. This relationship is shown in Fig. 1.6. Part (a) of this figure shows
the generic notation where a solid dot is indicated on the many side and both classes are joined
by a straight line. Figure 1.6(b) shows the UML notation where 1..* indicates the one to many
relationship between country and states. On the country end, a 1..1 multiplicity is placed to
indicate one country and on states end, a 1..* is placed to indicate many states.
(a) (b)
Let us take another example to explain many-to-many relationship. A teacher teaches many
students and a student can be taught by many teachers. There exists a many-to-many relationship
between them. Many-to-many relationship (Generic notation in OOAD) are represented by
placing solid dots on both ends joined by a straight line as shown in Fig. 1.7(a). The respective
notation in UML is shown in Fig. 1.7(b) where 1..* on both ends is used to signify many-to-
many relationship.
(a) (b)
Shape
Triangle Square
Shape
area( )
Another kind of relationship that exists among objects is the part-of-relationship. When a
particular object is a part of another object then we say that it is aggregation. For example, car is
Introduction to OOP 9
an aggregation of many objects: engine, door, etc. and engine in turn is an aggregation of many
objects, e.g., cylinder, piston, valves, etc. as shown in Fig. 1.10(a). A special kind of aggregation
is composition where one object owns other objects. If the owner object does not exist, the
owned objects also ceases to exist. For example, the human body is a very good example of
composition. It is a composition of different organs. The hands, feet, and internal organs such
as the lung and intestine are also parts of the body owned by the body.
Car
Human body
Engine Door
(a) (b)
a Date object would be created and used. At a later point of time, if a change is required, for
example, the year of Date class needs to be changed to four digits, then this change would be
incorporated in the class only and this change would automatically be reflected in all the objects
of the Date class whenever they are created and used. So, the change would have to be done at
one place only, i.e., the class and wherever the objects of the class are being used, the changes
would be reflected automatically. There is no need to analyze the whole code and change it.
In OOP, we access data with the help of objects, so it is very easy to overcome a problem
without modifying the whole system. Likewise, OOP is used in various fields, such as
Real-time systems Neural networks
Expert systems
SUMMARY
Object-oriented languages have become an ubiquitous large projects, a technique known as OOAD is used.
standard for programming. They have been derived Object-oriented analysis and design deals with how a
from the real world. OOP revolves around objects and system is modeled. OOA deals with what the system
classes. A class is defined as a group of objects with should do and OOD deals with how the system
similar attributes and behavior. OOP is a programming achieves what has been specified by OOA.
paradigm which deals with the concepts of objects to OOAD is realized with the help of a language known
develop software applications. Certain principles have as UML. UML stands for unified modeling language;
been laid down by OOP which are followed by every it is a standard language used for visualizing the
OOP language. These principles are: inheritance, software. An abstract model is created for the entire
abstraction, encapsulation, and polymorphism. software using graphical notations provided by UML.
We have presented a detailed comparison of
procedural and object-oriented languages. For building
EXERCISES
Objective Questions
1. In an object model, which one of the following is (c) Polymorphism (d) None of the above
true? 4. Which one of the following terms must relate to
(a) Abstraction, encapsulation, and multitasking polymorphism?
are the major principles (a) Static allocation (b) Static typing
(b) Hierarchy, concurrency, and typing are the
(c) Dynamic binding (d) Dynamic allocation
major principles
5. Providing access to an object only through its
(c) Abstraction, encapsulation, and polymor-
phism are the major principles member functions, while keeping the details
(d) Typing is the major principle private is called
(a) Information hiding (b) Encapsulation
2. Which one of the following is not an object-
(c) Modularity (d) Inheritance
oriented language?
(a) Simula (b) Java 6. The concept of derived classes is involved in
(c) C++ (d) C (a) Inheritance
3. The ability to hide many different implementations (b) Encapsulation
behind an interface is. (c) Data hiding
(a) Abstraction (b) Inheritance (d) Abstract data types
Introduction to OOP 11
Review Questions
1. Explain the importance of object-oriented pro- 4. Write short notes on: (a) inheritance, (b) poly-
gramming languages. morphism, (c) abstraction, (d) encapsulation.
2. Explain the difference between class and object. 5. Differentiate between runtime and compite-time
3. Differentiate between procedural languages and polymorphism.
OOP languages.
Programming Exercises
1. Identify the relevant classes along with their A hospital wants to keep track of scheduled
attributes for the following: A departmental store appointments of a patient with his doctor. When
needs to maintain an inventory of cosmetic items a patient is given an appointment, he should be
which might be found there. You should include given a confirmation that states the time and date
female as well as male cosmetic items. Keep of appointment along with the doctor’s name.
information on all items such as item name, Meanwhile the doctor should also be informed
category, manufacturer, cost, date purchased, about the patient details. Each doctor has one
and serial number. weekday as off-day and no patients should be
2. Identify the relevant classes along with their assigned to a doctor on that day.
attributes from the following problem specification:
2.1 INTRODUCTION
Java is a popular and powerful language. Although it is a very simple language, there are a
number of subtleties that can trip up less-experienced programmers. Java is an object-oriented
programming language with a built-in application programming interface (API) that can handle
graphical user interfaces (GUI) used to create applications or applets. Java provides a rich set
of APIs apart from being platform-independent.
Much of the syntax in Java is similar to C and C++. One of the major differences between
Java and other languages is that it does not have pointers. However, the biggest difference is that
you are forced to write object-oriented code in Java. Procedural code is embedded in objects.
In Java, we distinguish between applications and applets, applications being programs that
perform functions similar to those written in other programming languages and applets are
programs that are meant to be embedded in a web page and downloaded over the Internet.
When a program is compiled, a byte code is generated which can be executed on any platform,
provided the runtime environment exists on the destination platform.
This chapter guides the readers to a step-by-step introduction to Java programming. An
important thrust of this chapter is to cover the features of Java from an object-oriented perspective.
It also gives an insight about the installation of Java runtime environment and the various
integrated development environments (IDEs) of Java.
This chapter also focusses on the different versions of Java (including the latest Java 7) and
the Core API’s (Java 7 is also known as Java 1.7).
Random documents with unrelated
content Scribd suggests to you:
—— (Virgil’s), xi. 492.
Ænobarbas (in Shakespeare’s Antony and Cleopatra), see
Enobarbus.
Ænone, v. 203.
Æschylus, i. 194; iv. 216; v. 56; vi. III; viii. 12; x. 33; xi. 284, 506; xii.
240, 260.
Æsop. See Fables by Æsop.
Ætna, v. 122.
Afrancesadoes (Spaniards), i. 428.
African (or Negro), i. 69.
Agamemnon (Æschylus), i. 221; v. 54; x. 81, 94, 98; xi. 284, 421; xii.
240, 260.
Agar (Welbore Ellis), vi. 369.
Agatha Friburg (in Kotzebue’s Lovers’ Vows), viii. 335.
Age of Elizabeth, The Lectures on, etc.; Lecture I.—Introductory, v.
175.
Agincourt, i. 285, 289, 425.
Aglaura (Suckling’s), viii. 57.
Agli, Messer, x. 300.
Agnes, or the Triumph of Principle, iv. 243 n.
—— (Mrs Radcliffe’s), viii. 126
—— (in Lillo’s Fatal Curiosity), ii. 212.
—— (in Molière’s School for Wives), viii. 76; xi. 276.
Agnese (opera by Paer), viii. 540.
Agnolo, Andrea d’. See Andrea del Sarto.
Agreeable Surprise, The (O’Keeffe’s), viii. 166, 167, 319, 387, 463.
Agriculture, On (Cowley), viii. 60.
Aickin, James, ii. 197, 199, 201.
Aikin, Dr John (Dr A.), ii. 198; xi. 505.
Ailsa, Craig of, ii. 64.
Aimwell (Farquhar’s Beaux’ Stratagem), viii. 10, 88.
Airy, Sir George, viii. 503.
Ajax, x. 94; xii. 10.
Akenside, Mark, i. 114; ii. 79; iii. 222; v. 68, 119, 375; xi. 573.
Aladdin, ix. 269.
Alastor, or the Spirit of Solitude (Shelley’s), x. 261, 265.
Albano, Francesco, i. 77; vi. 441; ix. 34, 111, 236.
—— Hills of, ix. 234, 254, 376.
Albany, The, xi. 486.
—— Duke of, ii. 80.
Albemarle Street, i. 370; iii. 217; iv. 367; xi. 423, 486, 487.
Albergo di Venezia (an inn), ix. 264.
Alberigi, Frederigo, i. 163, 331; vii. 303; x. 68; xi. 501.
Albigeois, The Civil Wars of the, x. 56.
Alcæus, iv. 271.
Alcamenes (painter), ix. 466.
Alcantara (town), iii. 290 n.
Alceste (in Molière’s Misanthrope), ix. 150–1
Alcestis, vi. 179; x. 97.
Alchymist, The (Ben Jonson’s), viii. 45, 227; x. 117, 171.
Alcibiades, i. 211 seq.; vii. 213; xi. 228.
Alcides, The (acrobats), vi. 442.
Alcinous, Gardens of, ix. 325; xi. 514.
Alderman Gripe (Wycherley’s Love in a Wood), viii. 78.
Aldermanbury, xi. 441.
Aldobrand (in Maturin’s Bertram), viii. 306–7.
Aldridge’s, ii. 174.
Ale-house Door (Wilkie’s), viii. 140; ix. 15; xi. 252.
Aleman, Mateo. See Guzman D’Alfarache.
Aleppo (referred to in Shakespeare’s Othello), xi. 283.
Alexander and Campaspe (John Lyly’s), v. 197, 201, 202.
—— Battle of (a picture), ix. 41.
—— of Aberdeen, ii. 209.
—— I. of Russia, iii. 56, 160, 306; iv. 189; ix. 479; xi. 415.
—— the Great, i. 291; ii. 67, 173; iv. 71; v. 124; vi. 106, 107; x. 15, 17,
26, 329; xi. 3, 234, 553; xii. 37, 204.
Alexander the Great (by Lee, Nathaniel), v. 357; vi. 342; vii. 301.
—— VI., Pope, Bower’s Life of, ii. 172.
—— the Spy, ii. 154 n.
Alexander’s Feast (Dryden’s), iv. 276; v. 81, 372; vi. 204 n.; xii. 347.
Alfieri, Count, x. 45, 232, 241; xi. 424.
Alfred (Wilkie’s), ix. 389.
Algiers, iii. 335, 442.
Alhambra, The, ix. 349.
Alice (in Scott’s Old Mortality), iv. 247.
—— Bridgenorth (in Scott’s Peveril of the Peak), xi. 540.
Alicia (in Rowe’s Jane Shore), viii. 352.
Alien Bill, The Scotch, ix. 214.
—— Office, The, ii. 248.
Alighieri, Family of the, x. 63.
Alithea (in Wycherley’s adaptation of Molière’s School for Wives),
viii. 76, 153, 554; xi. 276.
Allan, The bog of, v. 34.
Allen, Bobbie (Lamb’s schoolfellow), xi. 585.
Allen-a-Dale (in Scott’s Ivanhoe), iv. 209.
Allen, John, M.D., ix. 17.
All Fools (Chapman’s), v. 234.
All for Love (Dryden’s), viii. 190.
All-Foxden, vi. 183; xii. 269, 271.
All in the Wrong (Murphy’s), viii. 164.
Allston, Washington, xi. 189, 190, 456 n.
All’s Well that Ends Well (Shakespeare’s), i. 329;
also referred to, iii. 437; viii. 330; xi. 296.
Allworthy (in Fielding’s Tom Jones), vi. 452.
Almack’s, xi. 343.
Almanach des Gourmands, The, xi. 501.
Almeria (Congreve’s Mourning Bride), viii. 75.
Almeyda (in Dryden’s Don Sebastian), v. 357.
Alonzo (in Maywood’s Zanga), xi. 398.
Alphonso VI. of Castile and Leon, x. 57.
Alps, The, iv. 193; vii. 368; ix. 182, 188, 190, 195, 199, 207, 208, 240,
263, 264, 273, 277, 288, 290, 297, 303, 360; xi. 231; xii. 134.
Alpuente, Romero (Landor’s), x. 251.
Alric (in Holcroft’s The Noble Peasant), ii. 110.
Alsop, Mrs, viii. 252, 355, 361, 369, 370, 412, 524; xi. 277, 305.
Alsop’s Rosalind, Mrs, viii. 252.
Altarpiece of St Mark (Tintoretto’s), ix. 113.
Alton (town), vii. 126.
Altona (town), ii. 256.
Alwyn, or the Gentleman Comedian (Holcroft’s), ii. 95 seq., 280.
Amadis de Gaul (early romance), i. 133; vii. 253; x. 14, 19, 20, 57; xii.
62.
Amadis of Greece, x. 57.
Amanda (Vanbrugh’s Relapse), viii. 83.
Amanthis (in Mrs Inchbald’s Child of Nature), viii. 196.
Amaryllis, vii. 41.
—— (in Fletcher’s Faithful Shepherdess), v. 255.
Ambrogetti, Signor, viii. 365; xi. 308.
Ambrose Lamela (in Le Sage’s Gil Blas), vii. 380.
Ambrose (Wilson’s Noctes Ambrosianæ), xii. 367.
Amelia (Fielding’s), i. 130; vi. 457; vii. 84; viii. 114, 115, 152, 555; x.
32, 33; xi. 501; xii. 64.
—— Mammonton (in Ups and Downs), xi. 385, 387.
Amelia, the Princess (George II.’s daughter), x. 159.
—— Carolina Wilhelmina Skeggs (in Goldsmith’s Vicar of Wakefield),
iii. 313.
—— Wildenheim (in Lovers’ Vows, Mrs Inchbald’s adap. of
Kotzebue’s Natural Son), viii. 249, 336.
American Farmer’s Letters, The, x. 314.
—— Lion (Kean’s), xi. 332.
—— Literature—Dr Channing, x. 310.
—— Revolution, ii. 133; iii. 32 n., 279, 302, 304; vii. 52.
—— War, The, iii. 250, 420, 422, 424; vi. 385; x. 150–2; xii. 263, 293.
Americans, ix. 257.
Amiens, ii. 216; iii. 6, 61, 83, 99; vii. 227 n.
—— (Shakespeare’s As You Like It), xi. 367, 378; xii. 122.
Amine (in Arabian Nights), viii. 14.
Aminta (Tasso’s), x. 73.
Amintor (in Beaumont and Fletcher’s Maid’s Tragedy), v. 251, 252.
Amlet, Mrs (Vanbrugh’s Confederacy), viii. 14, 80.
Ammerbach (philosopher), x. 143.
Amory, John, i. 52.
Amours of Peter the Long (L. E. Billardson de Sauvigny), ii. 107.
Amphion, xi. 282.
Amphitheatre of Titus, ix. 234.
—— The (at Verona), ix. 277.
Amsterdam, vii. 100; ix. 295, 300, 301.
Amy Robsart (in Scott’s Kenilworth), ii. 314; iv. 248, 251.
Anabaptists, x. 360.
Anacharsis (traveller), vii. 255.
Anacreon, iv. 356; vii. 372 n.
Anacreon (Herrick’s translation), v. 312.
Anacreontics (Cowley’s), v. 372; viii. 59.
Anah (Byron’s), vii. 85.
Analogy (Butler’s), vi. 224; ix. 415; xii. 266, 346.
Analytical Review, The, ii. 116.
Ananias (Raphael’s), ix. 272 n.
Anastasius, vii. 220.
Anatomy of Melancholy (Burton’s), iv. 365; vi. 225.
Ancient Britons (the corps), ii. 176.
—— Mariner (Coleridge’s), iii. 205; iv. 218; v. 166, 377; viii. 14; xii.
236, 273, 319, 460.
—— Pistol (Shakespeare’s Henry IV., etc.), i. 425; iii. 54.
—— and Modern Literature, On Spirit of; On German Drama
contrasted with that of Age of Elizabeth, v. 345.
Ancona, View of (Wilson’s), xi. 199.
Andalusia, Castle of (O’Keeffe’s), viii. 329.
Anderson, Dr, v. 124.
Andes, iv. 193; vii. 255; viii. 415.
Andrea del Sarto, vi. 11; ix. 25, 51, 226.
Andromache (Racine’s), viii. 334.
Andromeda (Guido’s), vi. 441; viii. 253; ix. 61, 237.
Andrugio (in Marston’s Antonio and Mellida), v. 225.
Angelica (Congreve’s Love for Love), i. 133; viii. 15, 152, 555.
—— and Medora (a picture), ii. 212, 227; v. 3; x. 71.
Angelo (in Shakespeare’s Measure for Measure), i. 346, 347.
—— Michael. See Michael Angelo.
Angerstein, John Julius, vi. 174, 346; ix. 9, 35, 75, 113, 439.
Angerstein’s Collection, ix. 7.
Angiers, i. 311.
Anglade Family (or Accusation, by Payne), viii. 279.
Anglaises pour rire (a play), xi. 366.
Angler. See Complete Angler.
Angrisani (Signor), viii. 365, 371; xi. 308.
Anhalt (in Lovers’ Vows, Mrs Inchbald’s version of Kotzebue’s
Natural Son), viii. 249.
Anjou, Charles of, x. 56.
Anlaff the Dane (in Holcroft’s The Noble Peasant), ii. 110.
Anna, Verses upon (Gifford’s), iv. 302; vi. 221.
—— St Ives (Holcroft’s), ii. 128, 132, 136, 201, 279.
Annabel (in Holcroft’s The Man of Ten Thousand), ii. 160.
Annabella (in Ford’s ’Tis a Pity She’s a Whore), v. 269.
Anne Page (in Shakespeare’s Merry Wives), i. 350; ix. 36.
—— Queen, i. 8, 138; iii. 405; iv. 212, 217, 367; v. 82, 104, 105; vi. 113,
322, 323, 376, 445; viii. 96; x. 73, 205, 310, 358, 373, 374, 377,
378; xii. 405.
Annecy (town), i. 17; v. 100; vii. 304.
Annesley (a novel), x. 392.
Annual Anthology, iii. 211.
—— Register, ii. 56.
Annunciation (Guido’s), ix. 111.
Annus Mirabilis, The (Dryden’s), v. 81.
Anselme (in Molière’s L’Avare), xi. 379.
Anstey, Christopher, viii. 560.
Antæus, i. 160; iv. 38.
Antigone (Sophocles), x. 81, 97.
Antigonus (Shakespeare’s Winter’s Tale), i. 324.
Anti-Jacobin Review, i. 401; iii. 219, 238, 261, 262, 295; v. 164; x.
139, 158, 225.
Antinous, The (statue), vii. 167; viii. 149; ix. 107, 350, 378; xi. 228,
486, 542.
Antipholis (in Shakespeare’s Comedy of Errors), i. 351; iv. 341; vi. 58;
viii. 401.
Antipodes, xii. 279.
Antiquary (Scott’s), iv. 248; vii. 156; viii. 413, 425; ix. 202; xi. 558.
Antiquaries, Society of, viii. 335.
Antiquity, On, vii. 252.
Antonines, The, ix. 366.
Antonio (in Middleton’s Witch), v. 218.
—— (Shakespeare’s Merchant of Venice), i. 321; viii. 179, 250, 374; xi.
417.
—— (Godwin’s), iv. 210 n.; xii. 326.
—— and Mellida (Marston’s), v. 224, 225.
Antony (Shakespeare’s Julius Cæsar and Antony and Cleopatra), i.
197; iv. 183; vii. 264.
—— and Cleopatra (Shakespeare’s), i. 228; v. 50, 253; viii. 190;
also referred to, i. 195; v. 253; viii. 31, 389; ix. 27.
Antwerp, ix. 110, 300, 302, 492; xii. 48 n.
A. P. E., vii. 124, 207.
Ape, Lines on the Story of the (Merry’s), iv. 309 n.
Apelles (sculptor), vi. 74.
—— (in Lyly’s Alexander and Campaspe), v. 201.
Apemantus (Shakespeare’s Timon of Athens), i. 210 et seq.
Apennines, The, ix. 199, 207, 208, 209, 210, 254, 260, 263, 264, 276,
303; xii. 57, 134.
Apicius, xii. 141.
Apocalypse, The, vii. 199; xii. 280, 441.
Apollo, i. 34, 416; v. 83, 192; vi. 141; vii. 157; x. 349, 350; xi. 544; xii.
341.
—— (statues), iii. 169; v. 164; vi. 141; ix. 28, 107, 147, 164, 165 n., 169
n., 222, 223, 237, 240, 339, 340, 341, 350, 378, 379, 381, 430,
491–2; x. 341, 342, 344; xi. 196, 227, 228, 493.
Apollo and Daphne (Titian’s), ix. 74.
—— giving a Poet a Cup of Water (Poussin’s), vi. 172; ix. 24.
—— and the Seasons (R. Wilson’s), ix. 392; xi. 198.
Apollodorus, x. 100.
Apology for His Own Life (Cibber), viii. 160, 359.
Apostate, The (by Richard Lalor Sheil), v. 345; viii. 538.
Apostates, On Modern, iii. 155.
Apothecary (in Shakespeare’s Romeo and Juliet), ii. 368 n.
Apparitions, History of (Defoe’s), x. 382.
Appeal to Honour and Honesty (Defoe’s), x. 369 n.
—— from the New to the Old Whigs (Burke’s), iii. 32.
Appius and Virginia (Webster’s), v. 234.
Appleby, iii. 423; v. 148.
Application to Study, On, vii. 55.
Apprentice, The (Murphy’s), viii. 514.
Apuleius, Lucius, v. 199; vi. 201; x. 17, 18.
Apullius and Apullia (Turner’s), xi. 190.
Aquapendente (town), ix. 230.
Aquinas, Thomas, iv. 217; xii. 35.
Arabia, v. 88, 340 n.; xi. 560.
Arabian Nights, i. 46; ii. 347; iv. 337; v. 113; vi. 53, 408; vii. 23, 421
n.; viii. 12, 13, 14; ix. 69; x. 46.
Aram, Eugene, vi. 314; xii. 34.
Araminta (Vanbrugh’s Relapse), viii. 83.
Arbaces (in Beaumont and Fletcher’s King and no King), v. 252.
—— (in the opera Artaxerxes), viii. 248, 321, 451.
Arbe, The (river), ix. 292.
Arbela, The Battle of, vi. 107.
Arbuthnot, John, iii. 33; iv. 217; v. 78, 104, 105.
Arcadia, i. 338; ix. 324, 325.
—— Sir Philip Sidney’s, v. 98, 318, 319, 320, 321, 323, 324, 325, 326;
ix. 9, 10, 58; x. 14; xii. 282.
Arch of Constantine (Claude), ix. 54.
—— of Constantine, ix. 232.
Archangel, ii. 251.
Archbishop of Grenada, The (in Le Sage’s Gil Blas), x. 31.
Archer (in Farquhar’s Beaux’ Stratagem), viii. 14, 88; xii. 451, 452.
Archimago (in Spenser), v. 36.
Archimedes, iii. 151; vi. 377; x. 13; xii. 36.
Arcite (Chaucer), v. 21, 29, 30, 258.
Arctic Circle, The, xii. 253.
Arden of Feversham (play), i. 357.
—— Forest of, i. 185, 338, 339; xi. 367; xii. 122.
Arethusa, xii. 200.
—— (in Beaumont and Fletcher’s Philaster), v. 262.
Aretine, Peter, iii. 218; iv. 225; v. 186; viii. 10.
Aretino, Pietro (Titian’s supposed portrait of), ix. 354; xii. 30.
Arezzo, ix. 262, 302.
Argenis (Barclay’s), x. 145.
Arguing in a Circle, xii. 285.
Argus, The (a newspaper), xi. 386.
Argyll, Duke of, vi. 521.
—— 2nd Duke of, John Campbell, iii. 415.
—— The Duchess of, vi. 450.
—— in Prison (Northcote’s), vi. 341.
—— Place, vi. 358.
Ariadne, vi. 238; vii. 125; xii. 203.
Ariel (Shakespeare’s Tempest), i. 23, 238, 241, 245; iv. 216; v. 15, 151;
viii. 235, 236; ix. 177, 463; x. 116; xi. 179.
Ariosto, i. 161; iv. 257, 356; v. 3, 35, 45, 224; vi. 425; vii. 94, 252; ix.
29, 239, 266, 301; x. 9, 13, 16, 20, 45, 69, 70, 71, 73, 77, 409; xi.
235, 492.
Ariosto (Titian’s portrait of), ix. 270; xi. 30.
—— (Harington’s), v. 186; vi. 319 n.
Aristarchus, iv. 307.
Ariste (should be Valère), (in Molière’s L’Ecole des Femmes), xi. 356.
Aristocracy of Letters, On the, vi. 205.
Aristophanes, v. 56; viii. 28, 166; x. 99, 100, 112 n.
—— of Byzantium, i. 183.
Aristotle, i. 13, 123, 139; iv. 9 n., 143, 144, 283, 285; v. 360; vi. 107,
109, 198; vii. 248, 316; viii. 63, 93, 305; x. 143, 248, 249; xi. 97,
262; xii. 164, 326, 361, 370.
Arkwright (Sir Richard), ii. 175; vi. 456; vii. 165, 186; ix. 243 n.
Armelie (in L. Bonaparte’s Charlemagne), xi. 232, 235.
Armida (Ariosto’s), x. 71.
Armitage (racket-player), vi. 89.
Armstrong, John, ii. 169, 183, 194, 195; v. 119, 376; vi. 332.
Arnaud, Anthony, xi. 289.
—— Daniel, x. 55.
Arne, Michael, ii. 86.
—— Dr Thomas Augustine, ii. 86; viii. 451, 452.
Arno, The, ix. 211, 212, 221; xii. 134.
Arnold, S. J., viii. 224, 243, 244, 314, 322, 323, 463, 476.
Arpasia (in Bajazet), xi. 275.
Arragon, x. 56.
Arruntius (in Ben Jonson’s Sejanus), v. 264.
Arsinoe (in Molière’s Misanthrope), ix. 149.
Art, Fragments on, ix. 489.
—— of Walking the Streets. See Trivia.
Artamène (in Mlle. de Scudéry’s Artamène ou Le Grand Cyrus), xii.
61.
Artaxerxes (F. A. Arne’s), viii. 192;
also referred to in viii. 248, 320, 330, 451, 532; xi. 455 n.
Arthur, King, x. 20–21, 56; xii. 221.
—— (in Shakespeare’s King John), i. 306 et seq.; vii. 344.
Arthur’s Seat, ii. 314; ix. 98, 324, 336, 337.
—— —— View of (Nasmyth’s), xi. 247.
Artist, The (a magazine), vi. 416.
Artists, On the Old Age of, vii. 88.
Arts, On the Progress of the, i. 372.
—— are not Progressive, Why the, i. 160; ix. 489;
referred to, ix. 478.
Arundel, Thomas Howard, Earl of, ix. 34.
Arviragus (in Shakespeare’s Cymbeline), i. 182 seq.; v. 258; xi. 293.
Ascham, Roger, x. 236–7.
Ascot Heath, ii. 4, 5, 6.
Ashburton, Baron. See Dunning, John.
—— the Inn at, vi. 407.
Ashby-de-la-Zouch, ii. 14.
Ashmole, Elias, iii. 141.
Asia Minor, v. 199.
Aspasia (Landor’s), ii. 396; vii. 299.
Aspatia (in Beaumont and Fletcher’s Maid’s Tragedy), v. 251.
Aspin, Mr, ii. 205.
Ass (of Apuleius), x. 17, 18.
Assembly of the Just (Raphael’s), iii. 142; xii. 208.
—— of Saints (Raphael’s), ix. 380; xi. 227.
Assignation Scene, The (Hogarth’s), viii. 134.
Assizi, ix. 261.
Ass’s Foal, Ode to an (Coleridge’s), v. 164.
Assumption (Titian’s), ix. 273.
Astley, John, vii. 111.
Astley’s, xii. 49.
Astolpho (Ariosto’s), vii. 252.
Astræa, xi. 384.
Astrea and Cleopatra, Histories of, x. 14.
Astronomical Discourses, Dr Chalmers’s, iv. 230; xii. 279.
Asturias, xi. 317.
As You Like It (Shakespeare’s), i. 338;
also referred to in i. 185; vii. 260 n.; viii. 513; xi. 396.
Atala at the Tomb (Girodet’s), ix. 132.
At-all (in Abbe’s Double Gallant), viii. 162, 360.
Athalie (Racine’s), x. 106; xi. 452.
Athanasius, Creed of St, iii. 139, 269.
Athenæ Oxonienses (Wood’s), iii. 276.
Athenæum, The, xi. 386.
Athenians, xi. 312.
Athens, i. 4, 212; vi. 188, 448; vii. 95, 185, 254; ix. 381, 379, 466, 492;
x. 347; xii. 170.
Atherstone, ii. 14.
Atkins, Mr (actor), viii. 275.
—— Mrs, ii. 219.
Atkinson (in Fielding’s Tom Jones), vii. 214; viii. 114; x. 33.
Atlas (the horse), ii. 22.
—— The, vi. 505, 517, 520, 521, 522; ix. 484–5; x. 403; xii. 320, 339,
342, 346, 348, 350, 353, 354, 357, 360, 363, 364, 367, 369, 370,
377, 381, 386, 391, 394, 402.
Atterbury, Francis, iii. 408; v. 79; vii. 24; viii. 14.
Attica, ix. 325; xi. 495.
Atticus (Pope’s), ii. 79, 199.
Attila, ix. 267.
—— (Raphael’s), ix. 364.
Attributes (Samuel Clarke’s), xi. 118.
Attwood, Mr (actor), ii. 195, 222, 225.
Audrey (in Shakespeare’s As You Like It), i. 185, 340; iv. 348; v. 146;
viii. 167, 252, 319; xi. 367, 397.
Aufidius (in Shakespeare’s Coriolanus), i. 217; iii. 435; viii. 375.
Augustus (in Shakespeare’s Antony and Cleopatra), i. 230.
—— (statue), ix. 165, 221.
Auld Reekie School, The, viii. 478 n.
Auld Robin Gray (ballad), v. 141; vii. 253.
Aumerle (Shakespeare’s Richard II.), i. 273.
Aurelia, Duchess of Pietro Jacomo (in Marston’s Malcontent), v. 230.
Aurelio and Miranda (Boaden’s), ii. 218.
Aurora (newspaper), xi. 386.
—— (in Le Sage’s Gil Blas), xii. 141.
—— (Guido’s), ix. 237; xii. 36.
—— (Poussin’s), vi. 171.
Ausias (Italian author), x. 56.
Austerlitz, i. 415; iii. 99, 112; vi. 13, 237.
Austria, iii. 14, 104, 179.
—— Archduke of, i. 310, 311.
—— Emperor of, iii. 106, 107; ix. 277.
Austrian Catechism, The, xi. 343–4.
—— Troops, ix. 259.
Austrians, ix. 187 n.
Authors, On the Conversation of, vii. 24.
——, The Royal Society of, vii. 105.
Autolycus (in Shakespeare’s Winter’s Tale), i. 155, 326; viii. 230, 388.
Auvergne, Countess of, i. 292.
Avare (Molière). See L’Avare.
Avarice (in Spenser), v. 39.
Avon, v. 297.
Aylesbury, iii. 422.
Ayr, ii. 78.
Ayrton, William, vi. 195, 201; vii. 37.
Ayton, Miss Fanny, xi. 378.
B.
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.
textbookfull.com