没有合适的资源?快使用搜索试试~ 我知道了~
Core Java Career Essentials
3星 · 超过75%的资源 需积分: 12 28 下载量 12 浏览量
2013-11-08
23:17:26
上传
评论 1
收藏 1.69MB PDF 举报
温馨提示
试读
107页
Core Java Career Essentials. 这本书不错的啊。
资源推荐
资源详情
资源评论
Core Java
Career Essentials
Focusing on
Java platform, language, classes, objects, OO concepts
& principles, data structures, algorithms, and pattern
matching essentials
By
Arulkumaran Kumaraswamipillai
Sivayini Arulkumaran
Core Java Career Essentials
Focusing on platform, language, classes, objects, collections, and logic essentials
Copy Right 2011
The authors have made every effort in the preparation of this book to ensure the accuracy of the
information. However, information in this book is sold without warranty either expressed or implied. The
authors will not be held liable for any damages caused or alleged to be caused either directly or indirectly
by this book.
Please e-mail feedback & corrections (technical, grammatical and/or spelling) to
java-interview@hotmail.com .
More Java/JEE career resources are availabale at
http://www.lulu.com/java-success
First Edition : April 2011
Thanks to the reviewers: Ankit Garg, Devaka Cooray, Roberto Perillo, Rod Good, and
Sean Clynes.
2
Table of Contents
Getting Started ….........................................................................................5
How can this book help you?...........................................................................................6
Why is this a PERFECT companion?..............................................................................8
What are the technical key areas?....................................................................................9
Platform Essentials....................................................................................15
Why use Java? ...........................................................................................................16
Java platform basics – JDK, JRE, JVM, etc..................................................................21
Setting up and running Java...........................................................................................30
How are your classes loaded?........................................................................................34
Compile-time versus runtime........................................................................................39
Knowing your way around Java................................................................51
Judging Experience .......................................................................................................52
Gauging Your Experience with UNIX ..........................................................................88
Exposure to tools, technologies, and frameworks.......................................................103
Documenting your Java applications...........................................................................115
Ensuring code quality. ................................................................................................122
Language Essentials..................................................................................133
Valid identifiers and reserved keywords......................................................................135
Choosing the right data types......................................................................................144
Widening versus narrowing conversions.....................................................................150
Understanding the operator precedence.......................................................................159
Thinking in binary and bitwise operations .................................................................162
Initializing your data correctly.....................................................................................176
Constants and static imports........................................................................................182
Modifiers and where are they applicable? ..................................................................186
Methods and constructors............................................................................................196
Stack versus Heap........................................................................................................209
Java is pass-by-value....................................................................................................211
Recursive functions.....................................................................................................214
Class, instance, and local variables..............................................................................217
Classes and Interfaces Essentials.............................................................225
Working with classes and interfaces ...........................................................................226
Subclassing, overriding, and hiding (aka shadowing) ................................................227
Designing your classes and interfaces.........................................................................233
Working with abstract classes and interfaces..............................................................247
3
Inheritance versus composition...................................................................................260
Applying the design principles....................................................................................268
Designing an application or a system..........................................................................281
Class invariant and design by contract .......................................................................285
Working with inner classes..........................................................................................290
Packaging your classes to avoid conflicts...................................................................300
Objects Essentials......................................................................................305
Working with Objects..................................................................................................306
Cloning Objects...........................................................................................................312
Casting Objects............................................................................................................314
Immutable Objects.......................................................................................................318
Working with Enumerations........................................................................................326
Understanding “==” versus equals( )...........................................................................332
Working with the String class......................................................................................338
Type safety with Generics............................................................................................346
Serializing your objects...............................................................................................364
Garbage Collection......................................................................................................372
Logic and Data structures Essentials......................................................383
Java Flow Control........................................................................................................384
Java Data structures.....................................................................................................390
Sorting Elements..........................................................................................................422
Algorithms...................................................................................................................427
Logic Processing..........................................................................................................449
Exception handling......................................................................................................471
Matching patterns with regular expressions..........................................487
Matching patterns with Regular Expressions..............................................................488
Job Interview Tips.....................................................................................520
Interviews are not technical contests...........................................................................521
Don't wait to be asked ….............................................................................................523
Think out loud and brainstorm with the interviewers ….............................................524
Sometimes knowing something is better than knowing nothing …............................526
Interviewers place a lot of value in "I don't know" over inventing answers ... ..........526
An interview is a two way street ….............................................................................527
Open-ended questions are your opportunity …..........................................................528
Books can impart knowledge, but cannot give you the much needed experience …..528
Glossary & Index......................................................................................530
4
Section-1:
Getting Started …...
• How can this book help you?
• Why is this a PERFECT companion?
• What are the technical key areas?
So you have a java interview coming up in a few days or you want to impress
your peers and superiors with your technical strengths during code review sessions, team
meetings, and stand-ups, and concerned about how to make a good impression? you don't
need to worry if you are familiar with the fundamentals. Most Java interviews and
technical challenges you face at work are structured around the fundamentals and how
well you communicate those fundamentals. So regularly brushing up on these
fundamentals really pays off.
Your analytical, problem solving, and coding skills will also be under scrutiny
along with your ability to get the job done with the right tools. If your fundamentals are
clear and know what tools to use, you can tackle any questions, and find solutions to any
problems and challenges you face. Even if you don't have the exact answer for a
problem, you will know how to go about solving them with a little research if you have a
solid grounding in the fundamentals covered in this book.
A little preparation can make a huge difference to your career success. Preparation
can help you communicate your thoughts more clearly with examples and illustrations.
Preparation can make a good and lasting impression on those who talk with you during
your interviews and team meetings. This impression will be partly influenced by how
prepared you are and how knowledgeable you are about your industry and the challenges
it faces. It will also be influenced by your appearance, attitude, enthusiasm, and
confidence. Good preparation breeds confidence and it shows in the interviews and team
meetings. So prepare well in advance if you just begun to see yourself in your dream
company or would like to go places in your chosen field.
5
剩余106页未读,继续阅读
资源评论
- xingyuxuan22016-09-22不全啊,只有一百多页
wikimatt
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功