A GUIDE TO PROGRAMMING IN JAVA - Mr. Barrett's Class
A GUIDE TO
PROGRAMMING IN
Java? 2 Platform Standard Edition 5
Beth Brown
JAVA
?
A Guide to Programming
in Java?
Java? 2 Platform Standard Edition 5
Beth Brown
Copyright 2005
by
First Edition
ISBN 1-58003-071-8 (softcover)
ISBN 1-58003-072-6 (hardcover)
All rights reserved. No part of this work covered by the copyright may be reproduced or used
in any form or by any means¡ªgraphic, electronic, or mechanical, including photocopying,
recording, taping, or information storage and retrieval systems¡ªwithout the written permission
of the publisher, with the exception of programs, which may be entered, stored, and executed
in a computer system, but not reprinted for publication or resold in any other form.
Printed in the United States of America
All orders including educational, Canadian, foreign,
FPO, and APO may be placed by contacting:
Lawrenceville Press, Inc.
P.O. Box 704
Pennington, NJ 08534-0704
(609) 737-1148
(609) 737-8564 fax
This text is available in hardcover and softcover editions.
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
The text is written and published by Lawrenceville Press, Inc. and is in no way
connected with the Sun? Corporation.
Sun?, Sun? Microsystems, and Java? are trademarks or registered trademarks of
Sun Microsystems, Inc. in the United States and other countries.
Microsoft? Microsoft? Windows?, Visual Basic?, and Microsoft? Calculator are
either registered trademarks or trademarks of Microsoft Corporation in the United
States and/or other countries. Screen Shots and Icons reprinted with permission
from Microsoft? Corporation.
Mac OS? and Tiger? are registered trademarks of Apple Computer, Inc. in the
United States and other countries.
ExamView is a registered trademark of FSCreations, Inc.
¡°JUNE BUGS¡± poem by Avis Harley used with permission from Boyds Mills Press.
Names of all other products mentioned herein are used for identi?cation purposes
only and may be trademarks of their respective owners.
Preface
W
e have strived to make this the clearest and most comprehensive
Java text available. Our primary objective in this text is to present material in clear language with easy to follow examples. To meet this objective,
we use our teaching experiences as well as the feedback, comments, and
suggestions from other experienced instructors to determine how best to
present programming concepts.
For the best classroom experience for both the student and the instructor,
our comprehensive text book includes hands-on reviews, critical-thinking
questions, and exercises of varying difficulty levels. Additionally, our
Teacher Resource Materials correlate directly to the text book and offer
teaching hints for explaining difficult concepts, additional lessons and
exercises, and a comprehensive question bank for creating tests, quizzes,
and reviews. The Teacher Resource Materials include the applications,
Case Studies, and vocabulary from the text book, as well as answers to
all the reviews and exercises.
It is our belief that learning to program offers the student an invaluable
opportunity to develop problem-solving skills. The process of defining a
problem, breaking it down into a series of smaller problems, and finally
writing an application to solve it exercises a student¡¯s logical abilities.
Additionally, the student is made aware of the capabilities and limitations of a computer and soon realizes that the programmer¡ªthe human
element¡ªis more important than the machine.
A Guide to Programming in Java is written for a one-term or two-term
course. No previous programming experience is required or assumed. It
is our goal that this text provide students the best possible introduction
to programming using Java and to prepare them for further study in the
IT/programming/computer science field.
Preface
iii
Design and Features
Programming Concepts This text emphasizes the fundamental concepts
of programming so that this knowledge can be applied to other programming languages.
Problem Solving From the very beginning, students are taught to implement programming solutions with proper algorithm design and code
conventions.
Programming Style Throughout the text, proper programming style
is emphasized so that students can make their applications easy to read,
modify, and debug.
Demonstration Applications and Runs Many demonstration applications are included, complete with sample runs, so that students are shown
both proper programming techniques and the output actually produced
by an application.
Reviews Numerous reviews are presented throughout each chapter to
provide immediate reinforcement of newly learned concepts. Solutions to
the reviews are included on the Teacher Resource Materials CD.
Case Studies Most chapters end by stating a problem, developing an
appropriate algorithm, and then implementing the solution. The process
of specification, design, implementation, and debugging and testing is
clearly outlined.
Chapter Summaries Each chapter ends by summarizing the concepts
and statements covered in the chapter.
Vocabulary Sections Each chapter contains a vocabulary section that
defines new terms. A separate section lists Java keywords, statements,
and classes.
Critical Thinking Written response questions that require critical thinking from the student are included at the end of each chapter.
Exercises Each chapter includes a large set of exercises of varying difficulty, making them appropriate for students with a range of abilities. Most
exercises include a demonstration run to help make clear what output is
expected from the student¡¯s application. Exercises based on previous work
are marked with a ? symbol. Answers to the exercises are included on
the Teacher Resource Materials CD.
Indexes In addition to a standard index, an index of the applications
presented in the text is also included.
Appendix A chart of Unicode symbols is included.
Online Resources Materials that complement and extend this text are free
for download and distribution in your class. Information about various
Java compilers is available. Supplemental chapters cover operating systems,
personal finances, introduction to computers, and keyboarding skills are
also provided. Students can download all the files needed to complete the
reviews and exercises from .
iv
A Guide to Programming in Java
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- workstation user s manual vmware
- minecraft minecraft secrets handbook over 250 completely
- mobi nad 114 user guide
- learning ms dos basics a tutorial
- visual basic 6 0 made easy visual basic tutorials
- a guide to programming in java mr barrett s class
- lego mindstorms ev3 programming basics
- the ultimate player s guide to minecraft playstation
Related searches
- guide to being a man s man
- programming in java pdf
- a man s guide to women
- barrett s esophagus icd 10
- icd 10 barrett s with dysplasia
- icd 10 barrett s epithelium
- icd 10 barrett s syndrome
- icd 10 code barrett s esophagus
- history of barrett s esophagus icd 10
- icd 10 barrett s esophagus unspecified
- barrett s esophagus with bleeding icd 10
- dx code for barrett s esophagus