(Ebook) Introduction to Java Programming. Comprehensive Version by Y. Daniel Liang ISBN 9780133761313, 0133761312 pdf download
(Ebook) Introduction to Java Programming. Comprehensive Version by Y. Daniel Liang ISBN 9780133761313, 0133761312 pdf download
https://ebooknice.com/product/introduction-to-java-programming-
comprehensive-version-5903020
https://ebooknice.com/product/introduction-to-java-programming-
comprehensive-version-55557878
https://ebooknice.com/product/introduction-to-java-programming-and-data-
structures-comprehensive-version-7174626
https://ebooknice.com/product/introduction-to-java-programming-and-data-
structures-comprehensive-version-22853230
https://ebooknice.com/product/introduction-to-java-programming-and-data-
structures-comprehensive-version-25767158
(Ebook) Introduction to Java Programming, Brief by Y. Daniel
Liang ISBN 9780132130790, 0132130793
https://ebooknice.com/product/introduction-to-java-programming-
brief-5060278
https://ebooknice.com/product/introduction-to-programming-with-c-6775646
https://ebooknice.com/product/learning-java-an-introduction-to-real-world-
programming-with-java-10865874
https://ebooknice.com/product/a-comprehensive-introduction-to-object-
oriented-programming-with-java-1st-edition-2454362
https://ebooknice.com/product/learning-java-an-introduction-to-real-world-
programming-with-java-10839656
INTRODUCTION TO
JAVA
®
PROGRAMMING
COMPREHENSIVE VERSION
Tenth Edition
Y. Daniel Liang
Armstrong Atlantic State University
Boston Columbus Indianapolis New York San Francisco Upper Saddle River
Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto
Delhi Mexico City Sao Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo
To Samantha, Michael, and Michelle
Credits and acknowledgments borrowed from other sources and reproduced, with permission, in this textbook
appear on the appropriate page within text.
Microsoft® and Windows® are registered trademarks of the Microsoft Corporation in the U.S.A. and other
countries. Screen shots and icons reprinted with permission from the Microsoft Corporation. This book is not
sponsored or endorsed by or affiliated with the Microsoft Corporation.
Copyright © 2015, 2013, 2011 Pearson Education, Inc., publishing as Prentice Hall, 1 Lake Street, Upper Saddle
River, New Jersey, 07458. All rights reserved. Printed in the United States of America. This publication is protected
by Copyright, and permission should be obtained from the publisher prior to any prohibited reproduction, storage in
a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording,
or likewise. To obtain permission(s) to use material from this work, please submit a written request to Pearson
Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax
your request to 201-236-3290.
Many of the designations by manufacturers and sellers to distinguish their products are claimed as trademarks.
Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations
have been printed in initial caps or all caps.
10 9 8 7 6 5 4 3 2 1
Many of you have provided feedback on earlier editions of this book, and your comments and
suggestions have greatly improved the book. This edition has been substantially enhanced in
presentation, organization, examples, exercises, and supplements. The new edition:
■ Replaces Swing with JavaFX. JavaFX is a new framework for developing Java GUI pro- what is new?
grams. JavaFX greatly simplifies GUI programming and is easier to learn than Swing.
■ Introduces exception handling, abstract classes, and interfaces before GUI programming to
enable the GUI chapters to be skipped completely if the instructor chooses not to cover GUI.
■ Covers introductions to objects and strings earlier in Chapter 4 to enable students to use
objects and strings to develop interesting programs early.
■ Includes many new interesting examples and exercises to stimulate student interests. More
than 100 additional programming exercises are provided to instructors only on the Com-
panion Website.
Please visit www.pearsonhighered.com/liang for a complete list of new features as well as
correlations to the previous edition.
The book is fundamentals first by introducing basic programming concepts and techniques fundamentals-first
before designing custom classes. The fundamental concepts and techniques of selection
statements, loops, methods, and arrays are the foundation for programming. Building this
strong foundation prepares students to learn object-oriented programming and advanced Java
programming.
This book teaches programming in a problem-driven way that focuses on problem solv- problem-driven
ing rather than syntax. We make introductory programming interesting by using thought-
provoking problems in a broad context. The central thread of early chapters is on problem
solving. Appropriate syntax and library are introduced to enable readers to write programs for
solving the problems. To support the teaching of programming in a problem-driven way, the
book provides a wide variety of problems at various levels of difficulty to motivate students.
To appeal to students in all majors, the problems cover many application areas, including
math, science, business, financial, gaming, animation, and multimedia.
The book seamlessly integrates programming, data structures, and algorithms into one text. data structures
It employs a practical approach to teach data structures. We first introduce how to use various
data structures to develop efficient algorithms, and then show how to implement these data
structures. Through implementation, students gain a deep understanding on the efficiency of
data structures and on how and when to use certain data structures. Finally we design and
implement custom data structures for trees and graphs.
The book is widely used in the introductory programming, data structures, and algorithms
courses in the universities around the world. This comprehensive version covers fundamentals comprehensive version
of programming, object-oriented programming, GUI programming, data structures, algorithms,
concurrency, networking, database, and Web programming. It is designed to prepare students
to become proficient Java programmers. A brief version (Introduction to Java Programming, brief version
Brief Version, Tenth Edition) is available for a first course on programming, commonly known AP Computer Science
as CS1. The brief version contains the first 18 chapters of the comprehensive version. The first
13 chapters are appropriate for preparing the AP Computer Science exam.
The best way to teach programming is by example, and the only way to learn program- examples and exercises
ming is by doing. Basic concepts are explained by example and a large number of exercises
iii
iv Preface
with various levels of difficulty are provided for students to practice. For our programming
courses, we assign programming exercises after each lecture.
Our goal is to produce a text that teaches problem solving and programming in a broad
context using a wide variety of interesting examples. If you have any comments on and sug-
gestions for improving the book, please email me.
Sincerely,
Y. Daniel Liang
y.daniel.liang@gmail.com
www.cs.armstrong.edu/liang
www.pearsonhighered.com/liang
Pedagogical Features
The book uses the following elements to help students get the most from the material:
■ The Objectives at the beginning of each chapter list what students should learn from the
chapter. This will help them determine whether they have met the objectives after completing
the chapter.
■ The Introduction opens the discussion with representative problems to give the reader an
overview of what to expect from the chapter.
■ Key Points highlight the important concepts covered in each section.
■ Check Points provide review questions to help students track their progress as they read
through the chapter and evaluate their learning.
■ Problems and Case Studies, carefully chosen and presented in an easy-to-follow style,
teach problem solving and programming concepts. The book uses many small, simple, and
stimulating examples to demonstrate important ideas.
■ The Chapter Summary reviews the important subjects that students should under-
stand and remember. It helps them reinforce the key concepts they have learned in the
chapter.
■ Quizzes are accessible online, grouped by sections, for students to do self-test on pro-
gramming concepts and techniques.
■ Programming Exercises are grouped by sections to provide students with opportunities
to apply the new skills they have learned on their own. The level of difficulty is rated as
easy (no asterisk), moderate (*), hard (**), or challenging (***). The trick of learning
programming is practice, practice, and practice. To that end, the book provides a great
many exercises. Additionally, more than 100 programming exercises with solutions are
provided to the instructors on the Companion Website. These exercises are not printed in
the text.
■ Notes, Tips, Cautions, and Design Guides are inserted throughout the text to offer valu-
able advice and insight on important aspects of program development.
Note
Provides additional information on the subject and reinforces important concepts.
Tip
Teaches good programming style and practice.
Caution
Helps students steer away from the pitfalls of programming errors.
Design Guide
Provides guidelines for designing programs.
Part III: GUI Programming (Chapters 14–16 and Bonus Chapter 34)
JavaFX is a new framework for developing Java GUI programs. It is not only useful for
developing GUI programs, but also an excellent pedagogical tool for learning object-oriented
programming. This part introduces Java GUI programming using JavaFX in Chapters 14–16.
Major topics include GUI basics (Chapter 14), container panes (Chapter 14), drawing shapes
(Chapter 14), event-driven programming (Chapter 15), animations (Chapter 15), and GUI
controls (Chapter 16), and playing audio and video (Chapter 16). You will learn the architec-
ture of JavaFX GUI programming and use the controls, shapes, panes, image, and video to
develop useful applications. Chapter 34 covers advanced features in JavaFX.
Part IV: Data Structures and Algorithms (Chapters 18–29 and Bonus Chapters 40–41)
This part covers the main subjects in a typical data structures and algorithms course. Chapter 18
introduces recursion to write methods for solving inherently recursive problems. Chapter 19
presents how generics can improve software reliability. Chapters 20 and 21 introduce the
Java Collection Framework, which defines a set of useful API for data structures. Chapter 22
discusses measuring algorithm efficiency in order to choose an appropriate algorithm for
applications. Chapter 23 describes classic sorting algorithms. You will learn how to implement
several classic data structures lists, queues, and priority queues in Chapter 24. Chapters 25 and
26 introduce binary search trees and AVL trees. Chapter 27 presents hashing and implement-
ing maps and sets using hashing. Chapters 28 and 29 introduce graph applications. The 2-4
trees, B-trees, and red-black trees are covered in Bonus Chapters 40–41.
Part V: Advanced Java Programming (Chapters 30–33 and Bonus Chapters 35–39, 42)
This part of the book is devoted to advanced Java programming. Chapter 30 treats the use
of multithreading to make programs more responsive and interactive and introduces parallel
programming. Chapter 31 discusses how to write programs that talk with each other from
different hosts over the Internet. Chapter 32 introduces the use of Java to develop database
viii Preface
projects. Chapter 33 introduces modern Web application development using JavaServer Faces.
Chapter 35 delves into advanced Java database programming. Chapter 36 covers the use of
internationalization support to develop projects for international audiences. Chapters 37 and
38 introduce how to use Java servlets and JavaServer Pages to generate dynamic content from
Web servers. Chapter 39 discusses Web services. Chapter 42 introduces testing Java programs
using JUnit.
Appendixes
This part of the book covers a mixed bag of topics. Appendix A lists Java keywords.
Appendix B gives tables of ASCII characters and their associated codes in decimal and in
hex. Appendix C shows the operator precedence. Appendix D summarizes Java modifiers and
their usage. Appendix E discusses special floating-point values. Appendix F introduces num-
ber systems and conversions among binary, decimal, and hex numbers. Finally, Appendix G
introduces bitwise operations. Appendix H introduces regular expressions. Appendix I covers
enumerated types.
VideoNotes
We are excited about the new VideoNotes feature that is found in this new edition. These VideoNote
videos provide additional help by presenting examples of key topics and showing how to
solve problems completely, from design through coding. VideoNotes are available from
www.pearsonhighered.com/liang.
x Preface
Algorithm Animations
Animation We have provided numerous animations for algorithms. These are valuable pedagogical tools
to demonstrate how algorithms work. Algorithm animations can be accessed from the Com-
panion Website.
Acknowledgments
I would like to thank Armstrong Atlantic State University for enabling me to teach what I
write and for supporting me in writing what I teach. Teaching is the source of inspiration for
continuing to improve the book. I am grateful to the instructors and students who have offered
comments, suggestions, bug reports, and praise.
This book has been greatly enhanced thanks to outstanding reviews for this and previous
editions. The reviewers are: Elizabeth Adams (James Madison University), Syed Ahmed (North
Georgia College and State University), Omar Aldawud (Illinois Institute of Technology), Stefan
Andrei (Lamar University), Yang Ang (University of Wollongong, Australia), Kevin Bierre
(Rochester Institute of Technology), David Champion (DeVry Institute), James Chegwidden
(Tarrant County College), Anup Dargar (University of North Dakota), Charles Dierbach (Towson
University), Frank Ducrest (University of Louisiana at Lafayette), Erica Eddy (University of
Wisconsin at Parkside), Deena Engel (NewYork University), Henry A. Etlinger (Rochester Institute
of Technology), James Ten Eyck (Marist College), Myers Foreman (Lamar University), Olac
Fuentes (University of Texas at El Paso), Edward F. Gehringer (North Carolina State University),
Harold Grossman (Clemson University), Barbara Guillot (Louisiana State University), Stuart
Hansen (University of Wisconsin, Parkside), Dan Harvey (Southern Oregon University), Ron
Hofman (Red River College, Canada), Stephen Hughes (Roanoke College), Vladan Jovanovic
(Georgia Southern University), Edwin Kay (Lehigh University), Larry King (University of
Texas at Dallas), Nana Kofi (Langara College, Canada), George Koutsogiannakis (Illinois
Institute of Technology), Roger Kraft (Purdue University at Calumet), Norman Krumpe (Miami
University), Hong Lin (DeVry Institute), Dan Lipsa (Armstrong Atlantic State University),
James Madison (Rensselaer Polytechnic Institute), Frank Malinowski (Darton College),
Tim Margush (University of Akron), Debbie Masada (Sun Microsystems), Blayne Mayfield
(Oklahoma State University), John McGrath (J.P. McGrath Consulting), Hugh McGuire (Grand
Valley State), Shyamal Mitra (University of Texas at Austin), Michel Mitri (James Madison
University), Kenrick Mock (University of Alaska Anchorage), Frank Murgolo (California
State University, Long Beach), Jun Ni (University of Iowa), Benjamin Nystuen (University of
Colorado at Colorado Springs), Maureen Opkins (CA State University, Long Beach), Gavin
Osborne (University of Saskatchewan), Kevin Parker (Idaho State University), Dale Parson
(Kutztown University), Mark Pendergast (Florida Gulf Coast University), Richard Povinelli
(Marquette University), Roger Priebe (University of Texas at Austin), Mary Ann Pumphrey (De
Anza Junior College), Pat Roth (Southern Polytechnic State University), Amr Sabry (Indiana
University), Ben Setzer (Kennesaw State University), Carolyn Schauble (Colorado State
University), David Scuse (University of Manitoba), Ashraf Shirani (San Jose State University),
Daniel Spiegel (Kutztown University), Joslyn A. Smith (Florida Atlantic University), Lixin
Tao (Pace University), Ronald F. Taylor (Wright State University), Russ Tront (Simon Fraser
University), Deborah Trytten (University of Oklahoma), Michael Verdicchio (Citadel), Kent
Vidrine (George Washington University), and Bahram Zartoshty (California State University
at Northridge).
It is a great pleasure, honor, and privilege to work with Pearson. I would like to thank Tracy
Johnson and her colleagues Marcia Horton, Yez Alayan, Carole Snyder, Scott Disanno, Bob
Engelhardt, Haseen Khan, and their colleagues for organizing, producing, and promoting this
project.
As always, I am indebted to my wife, Samantha, for her love, support, and encouragement.
BRIEF CONTENTS
1 Introduction to Computers, Programs, 29 Weighted Graphs and Applications 1061
and Java 1 30 Multithreading and Parallel Programming 1097
2 Elementary Programming 33 31 Networking 1139
3 Selections 75 32 Java Database Programming 1173
4 Mathematical Functions, Characters, 33 JavaServer Faces 1213
and Strings 119
5 Loops 157
6 Methods 203
7 Single-Dimensional Arrays 245 Chapters 34–42 are bonus Web chapters
8 Multidimensional Arrays 287 34 Advanced JavaFX 34-1
9 Objects and Classes 321 35 Advanced Database Programming 35-1
10 Object-Oriented Thinking 365 36 Internationalization 36-1
11 Inheritance and Polymorphism 409 37 Servlets 37-1
12 Exception Handling and Text I/O 449 38 JavaServer Pages 38-1
13 Abstract Classes and Interfaces 495 39 Web Services 39-1
14 JavaFX Basics 535 40 2-4 Trees and B-Trees 40-1
15 Event-Driven Programming 41 Red-Black Trees 41-1
and Animations 585 42 Testing Using JUnit 42-1
16 JavaFX UI Controls and Multimedia 629
17 Binary I/O 677
18 Recursion 705 Appendixes
19 Generics 737 A Java Keywords 1263
20 Lists, Stacks, Queues, B The ASCII Character Set 1266
and Priority Queues 761
C Operator Precedence Chart 1268
21 Sets and Maps 797
D Java Modifiers 1270
22 Developing Efficient Algorithms 821
E Special Floating-Point Values 1272
23 Sorting 861
F Number Systems 1273
24 Implementing Lists, Stacks, Queues,
and Priority Queues 895 G Bitwise Operatoirns 1277
25 Binary Search Trees 929 H Regular Expressions 1278
26 AVL Trees 965 I Enumerated Types 1283
27 Hashing 985
28 Graphs and Applications 1015 Index 1289
xi
CONTENTS
Chapter 1 Introduction to Computers, Programs,
and Java 1
1.1 Introduction 2
1.2 What Is a Computer? 2
1.3 Programming Languages 7
1.4 Operating Systems 9
1.5 Java, the World Wide Web, and Beyond 10
1.6 The Java Language Specification, API, JDK, and IDE 11
1.7 A Simple Java Program 12
1.8 Creating, Compiling, and Executing a Java Program 15
1.9 Programming Style and Documentation 18
1.10 Programming Errors 20
1.11 Developing Java Programs Using NetBeans 23
1.12 Developing Java Programs Using Eclipse 25
Chapter 3 Selections 75
3.1 Introduction 76
3.2 boolean Data Type 76
3.3 if Statements 78
3.4 Two-Way if-else Statements 80
3.5 Nested if and Multi-Way if-else Statements 81
3.6 Common Errors and Pitfalls 83
3.7 Generating Random Numbers 87
3.8 Case Study: Computing Body Mass Index 89
3.9 Case Study: Computing Taxes 90
3.10 Logical Operators 93
3.11 Case Study: Determining Leap Year 97
3.12 Case Study: Lottery 98
3.13 switch Statements 100
3.14 Conditional Expressions 103
xii
xiii
3.15 Operator Precedence and Associativity 104
3.16 Debugging 106
Translator: E. M. Waller
Language: English
E. M. WALLER
WITH AN INTRODUCTION BY
ANDREW LANG
VOL. II
1822 TO 1825
WITH A FRONTISPIECE
NEW YORK
1907
CONTENTS
BOOK I
CHAPTER I
An unpublished chapter from the Diable boiteux—History of
Samud and the beautiful Doña Lorenza 1
CHAPTER II
The good my flouting at the hands of the two Parisians had
done me—The young girls of Villers-Cotterets—My three friends
—First love affairs 13
CHAPTER III
Adolphe de Leuven—His family—Unpublished details concerning
the death of Gustavus III.—The Count de Ribbing—The
shoemakers of the château de Villers-Hellon 24
CHAPTER IV
Adolphe's quatrain—The water-hen and King William—Lunch in
the wood—The irritant powder, the frogs and the cock—The
doctor's spectre—De Leuven, Hippolyte Leroy and I are exiled
from the drawing-room—Unfortunate result of a geographical
error—M. Paroisse 34
CHAPTER V
Amédée de la Ponce—He teaches me what work is—M. Arnault
and his two sons—A journey by diligence—A gentleman fights
me with cough lozenges and I fight him with my fists—I learn
the danger from which I escaped 48
CHAPTER VI
First dramatic impressions—The Hamlet of Ducis—The Bourbons
en 1815—Quotations from it 57
CHAPTER VII
The events of 1814 again—Marmont, Duc de Raguse, Maubreuil
and Roux-Laborie at M. de Talleyrand's—The Journal des Débats
and the Journal de Paris—Lyrics of the Bonapartists and
enthusiasm of the Bourbons—End of the Maubreuil affair—Plot
against the life of the Emperor—The Queen of Westphalia is
robbed of her money and jewels 63
CHAPTER VIII
Account of the proceedings relative to the abstraction of the
jewels of the Queen of Westphalia by the Sieur de Maubreuil—
Chamber of the Court of Appeal—The sitting of 17 April, 1817 88
BOOK II
CHAPTER I
The last shot of Waterloo—Temper of the provinces in 1817,
1818 and 1819—The Messéniennes—The Vêpres siciliennes—
Louis IX.—Appreciation of these two tragedies—A phrase of
Terence—My claim to a similar sentiment—Three o'clock in the
morning—The course of love-making—Valeat res ludrica 96
CHAPTER II
Return of Adolphe de Leuven—He shows me a corner of the
artistic and literary world—The death of Holbein and the death
of Orcagna—Entrance into the green-rooms—Bürger's Lénore—
First thoughts of my vocation 103
CHAPTER III
The Cerberus of the rue de Largny—I tame it—The ambush—
Madame Lebègue—A confession 109
CHAPTER IV
De Leuven makes me his collaborator—The Major de Strasbourg
—My first couplet-Chauvin—The Dîner d'amis—The Abencérages
117
CHAPTER V
Unrecorded stories concerning the assassination of the Duc de
Berry. 123
CHAPTER VI
Carbonarism 132
CHAPTER VII
My hopes—Disappointment—M. Deviolaine is appointed forest-
ranger to the Duc d'Orléans—His coldness towards me—Half
promises—First cloud on my love-affairs—I go to spend three
months with my brother-in-law at Dreux—The news waiting for
me on my return—Muphti—Walls and hedges—The summer-
house—Tennis—Why I gave up playing it—The wedding party in
the wood 147
CHAPTER VIII
I leave Villers-Cotterets to be second or third clerk at Crespy—
M. Lefèvre—His character—My journeys to Villers-Cotterets—
The Pélerinage d'Ermenonville—Athénaïs—New matter sent to
Adolphe—An uncontrollable desire to pay a visit to Paris—How
this desire was accomplished—The journey—Hôtel des Vieux-
Augustins—Adolphe—Sylla—Talma 155
CHAPTER IX
The theatre ticket—The Café du Roi—Auguste Lafarge—
Théaulon—Rochefort—Ferdinand Langlé—People who dine and
people who don't—Canaris—First sight of Talma—Appreciation
of Mars and Rachel—Why Talma has no successor—Sylla and
the Censorship—Talma's box—A cab-drive after midnight—The
return to Crespy—M. Lefèvre explains that a machine, in order
to work well, needs all its wheels—I hand in my resignation as
his third clerk 166
BOOK III
CHAPTER I
I return to my mother's—The excuse I give concerning my
return—The calfs lights—Pyramus and Cartouche—The
intelligence of the fox more developed than that of the dog—
Death of Cartouche—Pyramus's various gluttonous habits 184
CHAPTER II
Hope in Laffitte—A false hope—New projects—M. Lecomier—
How and on what conditions I clothe myself anew—Bamps,
tailor, 12 rue du Helder—Bamps at Villers-Cotterets—I visit our
estate along with him—Pyramus follows a butcher lad—An
Englishman who loved gluttonous dogs—I sell Pyramus—My first
hundred francs—The use to which they are put—Bamps departs
for Paris—Open credit 191
CHAPTER III
My mother is obliged to sell her land and her house—The residu
—The Piranèses—An architect at twelve hundred francs salary—I
discount my first bill—Gondon—How I was nearly killed at his
house—The fifty francs—Cartier—The game of billiards—How six
hundred small glasses of absinthe equalled twelve journeys to
Paris 204
CHAPTER IV
How I obtain a recommendation to General Foy—M. Danré of
Vouty advises my mother to let me go to Paris—My good-byes—
Laffitte and Perregaux—The three things which Maître
Mennesson asks me not to forget—The Abbé Grégoire's advice
and the discussion with him—I leave Villers-Cotterets 213
CHAPTER V
I find Adolphe again—The pastoral drama—First steps—The Duc
de Bellune—General Sébastiani—His secretaries and his snuff-
boxes—The fourth floor, small door to the left—The general who
painted battles 223
CHAPTER VI
Régulus—Talma and the play—General Foy—The letter of
recommendation and the interview—The Duc de Bellune's reply
—I obtain a place as temporary clerk with M. le Duc d'Orléans—
Journey to Villers-Cotterets to tell my mother the good news—
No. 9—I gain a prize in a lottery 234
CHAPTER VII
I find lodgings—Hiraux's son—Journals and journalists in 1823—
By being saved the expense of a dinner I am enabled to go to
the play at the Porte-Saint-Martin—My entry into the pit—
Sensation caused by my hair—I am turned out—How I am
obliged to pay for three places in order to have one—A polite
gentleman who reads Elzevirs 251
CHAPTER VIII
My neighbour—His portrait—The Pastissier françois—A course in
bibliomania—Madame Méchin and the governor of Soissons—
Cannons and Elzevirs 263
CHAPTER IX
Prologue of the Vampire—The style offends my neighbour's ear
—First act—Idealogy—The rotifer—What the animal is—Its
conformation, its life, its death and its resurrection 272
CHAPTER X
Second act of the Vampire—Analysis—My neighbour again
objects—He has seen a vampire—Where and how—A statement
which records the existence of vampires—Nero—Why he
established the race of hired applauders—My neighbour leaves
the orchestra 284
CHAPTER XI
A parenthesis—Hariadan Barberousse at Villers-Cotterets—I play
the rôle of Don Ramire as an amateur—My costume—The third
act of the Vampire—My friend the bibliomaniac whistles at the
most critical moment—He is expelled from the theatre—Madame
Allan-Dorval—Her family and her childhood—Philippe—His death
and his funeral 295
BOOK IV
CHAPTER I
My beginning at the office—Ernest Basset—Lassagne—M.
Oudard—I see M. Deviolaine—M. le Chevalier de Broval—His
portrait—Folded letters and oblong letters—How I acquire a
splendid reputation for sealing letters—I learn who was my
neighbour the bibliomaniac and whistler 307
CHAPTER II
Illustrious contemporaries—The sentence written on my
foundation stone—My reply—I settle down in the place des
Italiens—M. de Leuven's table—M. Louis-Bonaparte's witty
saying—Lassagne gives me my first lesson in literature and
history 323
CHAPTER III
Adolphe reads a play at the Gymnase—M. Dormeuil—Kenilworth
Castle—M. Warez and Soulié—Mademoiselle Lévesque—The
Arnault family—The Feuille—Marius à Minturnes—Danton's
epigram—The reversed passport—Three fables—Germanicus —
Inscriptions and epigrams—Ramponneau—The young man and
the tilbury—Extra ecclesiam nulla est salus—Madame Arnault 334
CHAPTER IV
Frédéric Soulié, his character, his talent—Choruses of the
various plays, sung as prologues and epilogues—Transformation
of the vaudeville—The Gymnase and M. Scribe—The Folie de
Waterloo 349
CHAPTER V
The Duc d'Orléans—My first interview with him—Maria-Stella-
Chiappini—Her attempts to gain rank—Her history—The
statement of the Duc d'Orléans—Judgment of the Ecclesiastical
Court of Faenza—Rectification of Maria-Stella's certificate of
birth 360
CHAPTER VI
The "year of trials"—The case of Potier and the director of the
theatre of the Porte-Saint-Martin—Trial and condemnation of
Magallon—The anonymous journalist—Beaumarchais sent to
Saint-Lazare—A few words on censorships in general—Trial of
Benjamin Constant—Trial of M. de Jouy—A few words
concerning the author of Sylla—Three letters extracted from the
Ermite de la Chaussée-d'Antin—Louis XVIII. as author 375
CHAPTER VII
The house in the rue Chaillot—Four poets and a doctor—
Corneille and the Censorship—Things M. Faucher does not know
—Things the President of the Republic ought to know 389
BOOK V
CHAPTER I
Chronology of the drama—Mademoiselle Georges Weymer—
Mademoiselle Raucourt—Legouvé and his works—Marie-Joseph
Chénier—His letter to the company of the Comédie-Française—
Young boys perfectionnés—Ducis—His work 398
CHAPTER II
Bonaparte's attempts at discovering poets—Luce de Lancival—
Baour-Lormian—Lebrun-Pindare—Lucien Bonaparte, the author
—Début of Mademoiselle Georges—The Abbé Geoffroy's critique
—Prince Zappia—Hermione at Saint-Cloud 407
CHAPTER III
Imperial literature—The Jeunesse de Henri IV—Mercier and
Alexandre Duval—The Templiers and their author—César Delrieu
—Perpignan—Mademoiselle Georges' rupture with the Théâtre-
Français—Her flight to Russia—The galaxy of kings—The
tragédienne acts as ambassador 420
CHAPTER IV
The Comédie-Française at Dresden—Georges returns to the
Théâtre-Français—The Deux Gendres—Mahomet II.—Tippo-
Saëb—1814—Fontainebleau—The allied armies enter Paris—
Lilies—Return from the isle of Elba—Violets—Asparagus stalks—
Georges returns to Paris 430
CHAPTER V
The drawbacks to theatres which have the monopoly of a great
actor—Lafond takes the rôle of Pierre de Portugal upon Talma
declining it—Lafond—His school—His sayings—Mademoiselle
Duchesnois—Her failings and her abilities-Pierre de Portugal
succeeds 438
CHAPTER VI
General Riégo—His attempted insurrection—His escape and
flight—He is betrayed by the brothers Lara—His trial—His
execution 445
CHAPTER VII
The inn of the Tête-Noire—Auguste Ballet—Castaing—His trial—
His attitude towards the audience and his words to the jury—His
execution 452
CHAPTER VIII
Casimir Delavigne—An appreciation of the man and of the poet
—The origin of the hatred of the old school of literature for the
new—Some reflections upon Marino Faliero and the Enfants
d'Édouard—Why Casimir Delavigne was more a comedy writer
than a tragic poet—Where he found the ideas for his chief plays
465
CHAPTER IX
Talma in the École des Vieillards—One of his letters—Origin of
his name and of his family—Tamerlan at the pension Verdier—
Talma's début—Dugazon's advice—More advice from
Shakespeare—Opinions of the critics of the day upon the
débutant—Talma's passion for his art 480
BOOK I
CHAPTER I
'MY DEAR BOY,—I have been blaming myself during the past
fortnight for imposing upon your good-nature by letting you
fulfil the obligation you had most injudiciously promised my
uncle in undertaking to be my cavalier. In spite of your efforts to
hide the boredom that an occupation beyond your years caused
you, I have seen that I have much interfered with your usual
habits, and I blame myself for it. Go back to your young
playmates, who are waiting for you to play at prisoners' base
and quoits. Let your mind be quite at ease on my account; for I
have accepted M. Audim's services for the short time longer I
remain with my uncle. Please accept my best thanks, my dear
child, for your kindness, and believe me, yours very gratefully,
LORENZA.'
"If a thunderbolt had fallen at our schoolboy's feet he could not have
been more crushed than he was on receiving this letter. On the first
reading he realised nothing beyond the shock; he re-read it two or
three times, and felt the smart. Then it dawned on him that, since
he had taken no pains to prove to the lovely Lorenza that he was not
a child, it now remained to him to prove that he was a man, by
provoking Audim to fight a Dud with him; and forthwith, upon my
word, our outraged schoolboy sent this letter to his rival:—
"'SIR,—I need not tell you upon what provocation I wish to meet
you in any of the forest avenues, accompanied by two seconds:
you know as well as I do. As you may pretend that you have not
insulted me and that it is I who have provoked you, I leave the
choice of weapons to you.—I have the honour to remain,' etc.
"'P.S.—-As you will probably not return home till late to-night, I
will not demand my answer this evening, but I wish to receive it
as early as possible to-morrow morning.'
CHAPTER II
Still, like François I. after the battle of Pavia, I had not lost
everything by my defeat. First there remained to me my boots and
my tight-fitting trousers, those two dearly coveted articles, which
became the envy and admiration of those young companions upon
whom the lovely Laure had so cruelly thrown me. Besides, in the
fortnight spent in the company of those two smart girls, I had learnt
the first lesson that only the society of women can give. This lesson
had taught me to realise the need for that care of my personal
appearance which had hitherto never presented itself to my mind as
a thing to be daily attended to. Beneath the ridiculous if vanity in
changing my mode of dress, underneath the unlucky attempt that I,
a poor country lad, had made to attain to the elegant style of a
Parisian, there appeared the first dawnings of true elegance—that is
to say, of neatness.
I had rather good hands, my nails were well shaped, my teeth were
large but white, and my feet were singularly small considering my
size. I had been ignorant of all these possessions until they had
been pointed out to me by the two Parisian girls, who gave me
advice as to how I could enhance the value of my natural gifts. And
I continued to follow their advice for my own personal satisfaction,
after at first following it to please them, to such purpose that by the
time they left I had really stepped across the boundary which
separated childhood from youth. The crossing had certainly been a
rough one, and I had accomplished it with tears in my eyes,
coquetry holding one of my hands and chagrin the other. Then—as
jaded travellers, when they enter a fresh country, suck bitter fruits,
which, however much they set the teeth on edge, leave behind them
an irresistible desire to suck other fruits,—when my lips had touched
the apple of Eve that men call love, I yearned to make another
attempt, even though it should be more painful than the first, and so
far as its young girls were concerned, few towns could boast
themselves as well favoured as Villers-Cotterets. Never was there
such a large park as ours, not even at Versailles; no lawns were
greener, not even those at Brighton; nor were any studded with
more exquisite flowers than the park of Villers-Cotterets, with its
lawns and flower-beds. Three very distinct classes disputed among
themselves for the crown of beauty—the aristocracy, the middle
classes, and a third class for which I cannot find a name, a pleasant
intermediary between the middle class and the people, which
belongs to neither, and to which class the dressmakers,
seamstresses, and women-shopkeepers of a town belong.
The first class was represented by the Collard family, to whom I
have already alluded in connection with my childhood. Of the three
madcap young girls who roamed the forest of Villers-Cotterets as
free as the butterflies and swallows, two had become wives: one,
Caroline, had married the Baron Capelle; the other, Hermine, had
married the Baron de Martens; Louise, the third, who was but
fifteen, was the most captivating little maiden imaginable. Their
mother—whose birth and history as the daughter of Madame de
Genlis and the Duc d'Orléans I have related—and her three children
were the aristocratic centre round which the young men and
maidens of the neighbouring castles revolved; and among the
former of these were some of the best blood in the country—the
Montbretons, the Courvals, and the Mornays. None of these families
lived in Villers-Cotterets itself: they lived in the castles around. Only
on great occasions did the hives swarm and then we saw these
golden-winged bees flying about the streets of the town and down
the avenues of the park.
The second class was represented by the Deviolaine family. Two out
of the five daughters of M. Deviolaine were married, as I have said—
namely, Léontine and Éléonore; three remained, Cécile, Augustine
and Louise. Cécile was twenty years of age, Augustine sixteen;
Louise was still a mere child. Cécile had preserved her whimsical and
capricious spirits, the same mocking and animated features; her
actions were more masculine than feminine; her complexion was
tanned by the sun, as she never took the trouble to protect herself
from its rays. Augustine, on the contrary, had a skin as white as
milk, large tranquil blue eyes, dark chestnut hair, forming an
admirable framework round her face, sloping shoulders charmingly
moulded, and a figure that was not too slender; unlike her sister
Cécile, she was gracefully feminine in all her ways. Raphael would
have been puzzled to choose between her and Louise Collard for a
model for his Madonna, and like the Greek sculptor, he would have
selected beautiful points from them both to reach that perfect
standard to which Art everywhere attains when it surpasses Nature.
The other young girls of the middle class grouped themselves round
the Deviolaine family. The two Troisvallet girls, Henriette and
Clementine: Clementine, dark with beautiful black hair, strangely
attractive eyes, a Roman complexion, of the type of Velletri or
Subiaco, and a head like one of Augustine Carrachi's. Henriette was
tall, fair, rosy, slender, gracious, and as pliant in her gentle
youthfulness as a rose, as a blade of corn, as a willow tree: she had
that type of face which is half sad, half merry; the transition
between angel and woman, showing all the common needs of earth,
yet full of heavenly aspirations too. Then the two charming girls
Sophie and Pélagie Perrot; Louise Moreau, a sweet young girl, who
has since become the admirable mother of a family; Éléonore Picot,
of whom I have spoken—an excellent woman, saddened by the
death of her brother Stanislas, and the shameful charge that had
weighed for a short time upon her brother Auguste. Then there were
others, too, whose names I have forgotten, but whose fresh faces
still appear in my mind's eye like the phantoms of a dream or like
the apparitions which glide out of German streams or are reflected in
the lochs of Scotland as they pursue their nocturnal rounds.
Lastly, after the middle classes, came, as I have said, the group of
young girls which I cannot class in the social hierarchy, but which
held the same place in that small world of ours shut in by the green
girdle of its beautiful forest, that lilies of the valley, Easter daisies,
cornflowers, hyacinths and pompon roses hold among flowers. Oh!
but it was a pretty sight to see them on Sunday, in their summer
dresses, with pink and blue sashes, their tiny bonnets trimmed by
their own hands and put on in a hundred varieties of coquettish
ways—for in those days not one of them dare wear a hat; it was a
delight to see them free of all constraint, ignorant of any etiquette,
playing, racing, lacing and interlacing their charming round bare
arms in long chains. What exquisite creatures they were! What
delightful young things! It is of little interest to my readers, I am
well aware, to know their names; but I knew them, I loved them, I
spent my earliest years among them, those gentle opening days in
the morning of life; I wish to tell their names, I wish to paint their
portraits, I wish to describe their different charms, and then I hope
they will pardon my indiscretions for my very indiscretions' sake.
I must mention first and foremost two charmingly romantic and
coquettish damsels—Joséphine and Manette Thierry: Joséphine dark,
rosy, with an ample figure and regular features, a perfect creature,
whose beautiful teeth completed a ravishing whole. Manette, a
dessert apple, a girl who was always singing to make herself heard,
always laughing to show off her teeth, ever running to let her feet,
her ankles, even the calves of her legs, be seen; Virgil's Galatea,
whose very name she was ignorant of, flying to be pursued, hiding
so as to be seen before she hid.
What has become of them? I have seen them since, looking very
miserable: one was at Versailles, the other in Paris—the fallen, faded
fruits of that rosary on which I spelled out the first phrases of love.
They were the daughters of an old tailor, and lived close to the
church, which was only separated from them by the town hall.
Louise Brézette lived nearly opposite them; I have already
mentioned her. She was the niece of my dancing-master; a sturdy
flower of fifteen, whom I had in my mind while I wrote my fictitious
history of that Tulipe noire, the masterpiece of horticulture vainly
sought after, vainly pursued, vainly expected by Dutch amateur
gardeners. The hair of beautiful Madame Ronconi, which inspired
one of Théophile Gautier's most wonderful articles, and which made
coal look grey and the wings of a crow pale, when placed side by
side with it, was not more black, more blue, more shiny than Louise
Brézette's hair when it reflected the sun's rays from its dark and
sombre depths as from the heart of polished metal. Oh! what a
lovely blooming brunette she was, with her flesh as firm and bright
as a nectarine's; her pearly teeth lighting up her face from under the
faint ebony down on her coral lips! One could feel life and love
bubbling up beneath, needing only the first passion to make
everything burst forth into flame! This luxuriant young girl was
religious, and, as such an organisation as hers must love something,
she loved God.
If you took a few steps towards the square, a little farther up the rue
de Soissons, bearing to the left, there was a door and a window,
comprising the whole frontage of a tiny house. In the window hung
hats, collars, bonnets, lace, gloves, mittens, ribbons—the whole
arsenal, in short, of womanly vanity; behind the door floated certain
curtains, intended to prevent inquisitive glances from looking into
the shop, but which, whether by some strange mischance, or from
the obstinacy of the rod upon which they slid, or from the caprices
of the wind, always left on one side or the other some impertinent
aperture through which the passer-by could see into the shop and at
the same time allowed those inside the shop to see out into the
street. Above this door and this window the following inscription was
painted in large letters:—
Mesdemoiselles Rigolot, Milliners
Truly those who stopped in front of the opening which I have
indicated, and who managed to cast a glance inside the shop, did
not lose their time nor regret their pains. What we mean by this has
no sort of connection with the two proprietors of the establishment,
who were both old maids, having long since passed their fortieth
year, and, I presume, having lost all pretension to inspire any other
sentiment than respect.
No, what we have in view concerns two of the most adorable faces
you can imagine, placed side by side as though to set one another
off: one was a blonde, and the other a brunette. The brunette was
Albine Hardi; the blonde was Adèle Dalvin. The brown head,—do you
know the lovely Marie Duplessis, that charming courtesan full of
queenly grace, upon whom my son wrote his romance la Dame aux
camélias?—well, she was Albine. If you do not know her, I will
describe Albine to you. She was a young girl of seventeen, with a
dead brown complexion, large brown velvety eyes, and eyebrows so
black that they seemed as though they had been drawn with a
pencil, the curve was so firm and so regular. She was a duchess, she
was a queen; better still than either, if you will, she was after the
fashion of a nymph of Diana's train: slight, slender, straight and
finely built, a huntress whom it would have been a splendid sight to
see with a plumed helmet on her head, an Amazon flying before the
wind, leading a troop of clamorous pikemen, guiding a baying
hound. Upon the stage her appearance would have been
magnificent, almost supernatural. In ordinary life, people were
tempted to think her too beautiful, and for some time nobody dared
to make love to her, it seemed so likely that their love would be
wasted and that she would not make any response to it. The other,
Adèle, was fair and pink-complexioned. I have never seen prettier
golden hair, sweeter eyes, a more winning smile; she was more
inclined to be gay than melancholy, short rather than tall, plump
rather than thin: she was something like one of Murillo's cherubs
who kiss the feet of his Virgins—half veiled in clouds; she was
neither a Watteau shepherdess, nor one of Greuze's peasant girls,
but something between the two. One felt it would be a sweet and
easy thing to love her, although it might not be so easy to be loved
by her. Her father and her mother were worthy old farmer folk,
thoroughly honest but vulgar, and it was all the more surprising that
so fresh and sweet-scented a flower should have sprung from such a
stock. But this is always the case when folks are young: it is youth
that lends distinction, as it is spring which lends freshness to the
rose.
Round these young people whom I have just described, smiled and
pouted a bevy of young girls, the smallest being mere infants, whom
I have since seen succeed the youthful generation in which I lived. I
have sought in vain to find in these later children the virtues I found
in those who preceded them.
Until the arrival of the two strangers in Villers-Cotterets I had not
even noticed the springtide crown of stars and flowers to which all
ranks of society contribute. When the two strangers had left, the
bandage that had sealed my eyes fell off, and I could say not merely
"I see" but "I live." I found myself placed by my years exactly
between the children who still played at prisoners' base and at
quoits—as the abba's niece had aptly put it—and youths beginning
to turn into men. Instead of returning to the former, as my beautiful
Parisian had advised me, I attached myself to the latter, and drew
myself up to my full height to prove my sixteen years. And when
anyone asked my age, I told them I was seventeen.
The three youths with whom I was most intimate were, first,
Fourcade, director of the school of self-improvement, sent from Paris
to Villers-Cotterets; he was my vis-à-vis in my début as a dancing
man. He was a thoroughly well-bred, well-educated young fellow,
son of a man very honourably known in foreign affairs; his father
had lived in the East for many years and had been Consul at
Salonica. His affections were fixed upon Joséphine Thierry, and he
spent with her all the time he could spare from his teaching. My
second companion was Saunier; he had been a fellow-pupil with me
under the Abbé Grégoire; he was second clerk of M. Perrot the
lawyer; his father and grandfather were blacksmiths, and in the idle
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.
ebooknice.com