Chapter 3. Explanation of a Sample Program

Explanation of a Sample Program

Ever since The C Programming Language (Brian Kernighan and Dennis Ritchie, Prentice Hall) was published in 1978, writers of programming textbooks have been using the “Hello World” program as an introductory example. Programmers deserve a bit of innovation. Java is the first popular language to support graphics, networking, multimedia, multithreaded code, and software portability. Surely we can do a bit better than a first example that ...

Get Just Java™ 2, Fifth 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.