Core Java (TM)-Fundamentals by Wesley J. Chun

By Wesley J. Chun

This revised variation of the vintage Core Java™, quantity I–Fundamentals, is the definitive consultant to Java for severe programmers who are looking to positioned Java to paintings on genuine projects.


Fully up-to-date for the recent Java SE 6 platform, this no-nonsense instructional and trustworthy reference illuminates an important language and library good points with completely proven real-world examples. the instance courses were rigorously crafted to be effortless to appreciate in addition to worthy in perform, so that you can depend upon them as an exceptional place to begin on your personal code.


Volume I is designed to fast convey you in control on what’s new in Java SE 6 and that can assist you make the transition as successfully as attainable, no matter if you’re upgrading from an prior model of Java or migrating from one other language. The authors be aware of the elemental thoughts of the Java language, besides the fundamentals of user-interface programming. You’ll locate distinct, insightful assurance of 

  • Java fundamentals
  • Object-oriented programming
  • Interfaces and internal classes
  • Reflection and proxies
  • The occasion listener model
  • GUI programming with Swing
  • Packaging purposes
  • Exception dealing with
  • Logging and debugging
  • Generic programming
  • The collections framework
  • Concurrency

For particular insurance of XML processing, networking, databases, internationalization, safeguard, complicated AWT/Swing, and different complex positive aspects, search for the imminent 8th variation of Core Java™, quantity II—Advanced positive factors (ISBN: 978-0-13-235479-0).

Show description

Read or Download Core Java (TM)-Fundamentals PDF

Best object-oriented design books

Pro Active Record: Databases with Ruby and Rails

Seasoned lively list is helping you are taking good thing about the total strength of your database engine from inside your Ruby courses and Rails functions. ActiveRecord, a part of the magic that makes the Rails framework so robust and straightforward to exploit, is the version component to Rails model/view/controller framework. Its an object-relational mapping library permitting you to engage with databases from either Ruby and Rails functions.

Liferay 6.2 User Interface Development

Liferay employs a really good theming procedure to be able to swap the feel and appear of the person interfaces. Liferay Portal offers structure templates that allows you to describe how a number of columns and rows are prepared to exhibit portlets. It additionally offers issues that may be used to customise the final appear and feel of sites and web content.

Control flow semantics

Regulate stream Semantics offers a unified, formal remedy of the semantics of a large spectrum of keep watch over circulation notions as present in sequential, concurrent, common sense, object-oriented, and practical programming languages. while in additional conventional techniques one makes a speciality of input/output habit, during this paintings equivalent awareness is dedicated to finite and limitless computations, the latter stimulated through the becoming significance of reactive platforms.

Apache Camel Developer's Cookbook

Apache Camel is a de-facto average for constructing integrations in Java, and relies on well-understood company Integration styles. it's used inside of many advertisement and open resource integration items. Camel makes universal integration initiatives effortless whereas nonetheless supplying the developer with the ability to customise the framework whilst the placement calls for it.

Extra resources for Core Java (TM)-Fundamentals

Sample text

You invoke the appletviewer program instead. This program is a special tool included with the JDK that lets you quickly test an applet. You need to give this program an HTML file name, rather than the name of a Java class file. html file are shown below in Listing 2–3. Listing 2–3 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. html">Core Java by Cay Horstmann and Gary Cornell, published by Sun Microsystems Press. class. The applet viewer ignores all HTML tags except for the applet tag.

13. java /** * This program displays a greeting from the authors. 20 2004-02-28 * @author Cay Horstmann */ public class Welcome { public static void main(String[] args) { String[] greeting = new String[3]; greeting[0] = "Welcome to Core Java"; greeting[1] = "by Cay Horstmann"; greeting[2] = "and Gary Cornell"; 14. println(g); 15. 16. } 17. 18. } 23 Chapter 2. The Java Programming Environment 24 Chapter 2 ■ The Java Programming Environment Troubleshooting Hints In the age of visual development environments, many programmers are unfamiliar with running programs in a shell window.

Chapter 2. The Java Programming Environment Running a Graphical Application Figure 2–9 Running the ImageViewer application We hope that you find this program interesting and useful. Have a quick look at the source code. The program is substantially longer than the first program, but it is not terribly complex if you consider how much code it would take in C or C++ to write a similar application. In Visual Basic, of course, it is easy to write or, rather, drag and drop, such a program. The JDK does not have a visual interface builder, so you need to write code for everything, as shown in Listing 2–2.

Download PDF sample

Rated 4.17 of 5 – based on 45 votes