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