没有合适的资源?快使用搜索试试~ 我知道了~
Fundamentals of OOP and Data Structures in Java.pdf
4星 · 超过85%的资源 需积分: 9 42 下载量 133 浏览量
2008-09-24
11:05:44
上传
评论
收藏 9.29MB PDF 举报
温馨提示
试读
506页
Fundamentals of OOP and Data Structures in Java.pdf
资源推荐
资源详情
资源评论
Page iii
Fundamentals of OOP and Data Structures in Java
Richard Wiener
University of Colorado, Colorado Springs
Lewis J. Pinson
University of Colorado, Colorado Springs
Page iv
PUBLISHED BY CAMBRIDGE UNIVERSITY PRESS (VIRTUAL PUBLISHING) FOR AND ON BEHALF OF THE PRESS SYNDICATE OF THE UNIVERSITY OF
CAMBRIDGE
PUBLISHED BY THE PRESS SYNDICATE OF THE UNIVERSITY OF CAMBRIDGE
The Pitt Building, Trumpington Street, Cambridge, United Kingdom
CAMBRIDGE UNIVERSITY PRESS
The Edinburgh Building, Cambridge CB2 2RU, UK http://www.cup.cam.ac.uk
40 West 20th Street, New York, NY 10011-4211, USA http://www.cup.org
10 Stamford Road, Oakleigh, Melbourne 3166, Australia
Ruiz de Alarc
ó
n 13, 28014 Madrid, Spain
© Cambridge University Press 2000
This edition © Cambridge University Press (Virtual Publishing) 2001
This book is in copyright. Subject to statutory exception and to the provisions of relevant collective licensing
agreements, no reproduction of any part may take place without the written permission of Cambridge University Press.
First published 2000
Printed in the United States of America
Typeface Century Schoolbook 10/12.5 pt. and ITC Franklin Gothic System [
TB
]
A catalog record for this book is available from the British Library
.
Library of Congress Cataloging in Publication Data
Wiener, Richard, 1941–
Fundamentals of OOP and data structures in Java/Richard Wiener, Lewis Pinson.
p. cm.
ISBN 0 -521-66220-6 (hb)
1. Java (Computer program language) 2. Object-oriented programming (Computer
science) 3. Data structures (Computer science) I. Pinson, Lewis J. II. Title.
QA76.73.J38 W53 2000
005.1'17 – dc21
99
-
087328
ISBN 0 521 66220 6 hardback
eISBN 0-511-00168-1 virtual (netLibrary Edition)
Page v
To my children Henrik and Anna and my wife Hanne
who provide joy and love in my life.
r.w.
For Aspen. From the first moment she opened her
eyes, she captured my heart and added new meaning
to my life.
l.j.p.
Page vii
CONTENTS
Preface page xiii
Part One: Foundations
1
Cornerstones of OOP
3
1.1 Data Abstraction 4
1.2 Encapsulation 5
1.3 Object
5
1.4 Message 6
1.5 Method 6
1.6 Class 7
1.7 Inheritance 8
1.8 Late Binding Polymorphism
13
1.9 Abstract Classes 13
1.10 Interface 17
1.11 Delegation 19
1.12 Generic Classes and Interfaces
19
1.13 Summary 20
1.14 Exercises 21
2
Objects
22
2.1 Reference Semantics and Creating Objects
22
2.2 Assigning, Aliasing, and Cloning Objects 23
2.3 Equality Testing 30
2.4 Scalar Versus Reference Types 31
2.5 Scalar Types and Their Wrappers
31
2.6 Wrapping and Unwrapping – Conversion from Object to Scalar and Scalar to
Object
32
2.7 Strings 34
2.8 Class
StringBuffer
36
2.9 Arrays 36
2.10 Vector 40
2.11 Enumeration 44
2.12 Summary 48
2.13 Exercises
49
剩余505页未读,继续阅读
资源评论
- zndx352013-03-10谢谢分享这本书,内容老点,但是还不错
- zhumiao2014-09-24谢谢分享,很好的一本书
- qq2924870692013-09-28谢谢分享这本书,内容老点,但是还不错
paulQuei
- 粉丝: 4
- 资源: 101
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功