Chapter 2: It’s Java!
In This Chapter
How computers, phones and other devices run Java programs
The parts of a typical Java program
Before I became an Android guy, I was a Java guy. A Java guy is a person who revels in the workings of Java programs. I wrote Java programs, read about Java programs, went to Java user group meetings, and wore Java t-shirts. That’s why I was thrilled to learn that Android’s application programming language is Java.
In the early 1990s, James Gosling at Sun Microsystems created Java. He used ideas from many programming language traditions, including the object-oriented concepts in C++. He created an elegant platform with a wide range of uses. In mid-2011 (which is “now” as far as my chapter-writing goes), Java runs on more than 1.1 billion desktop computers,* and Java is the most popular programming language in the TIOBE Programming Community Index (www.tiobe.com/index.php/content/paperinfo/tpci). Do you have a Blu-ray player? Under the hood, your player runs Java.
* Source: http://java.com/en/about
In this minibook (Book II), this chapter and Chapters 3 and 4 introduce the ins and outs of the Java programming language. But these chapters don’t offer a comprehensive guide to Java. (To badly paraphrase Geoffrey Chaucer, “This book never yet no complete ...