Hour 11Java’s Details

In this hour, you will gain a deeper understanding of the Java programming language. Java has its roots in C and C++. Once you become familiar with Java, you will then be familiar with much of C and C++. Java has overtaken C++ to become the most widely used programming language in the world.

Java is simpler to learn than C++ because much of Java programming involves knowing which internal prebuilt Java procedures to run. As you saw in the previous hour’s overview, when you want to print a message in color, you don’t have to do much more than find the name of the prebuilt procedure that first sets the color, find the name of the procedure that prints in an output window, and then use those procedures in your program.

The ...

Get Sams Teach Yourself Beginning Programming in 24 Hours, 4th 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.