Chapter 1. Introducing Java

With Microsoft's release of the C# (pronounced C-sharp) language and the .NET platform, you might be wondering whether to spend your time learning C#/.NET or to invest that time pursuing Java. To aid you in making an informed decision, this chapter starts you on a journey that explores the Java language and a few of its many Application Program Interfaces (APIs). In this chapter, you will find an answer to the question, “What is Java?” You will also learn about Java development tools, the different kinds of Java programs that you can create, and how the Java and C++ languages compare—which you might find helpful if you come from a C++ background. Once you complete this chapter and the rest of this book, I hope you will ...

Get Java™ 2 by Example, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.