Chapter 4: Identifiers, Variables, Objects, and Collection Classes
4.1 Introduction
The purpose of this chapter is to cover the concept of identifiers and variables in Java. The distinction between identifiers and variables is one of the biggest differences between languages that implement data types for runtime objects (such as Smalltalk and Java) and those that only use data types at compile time to generate runtime executable code to manipulate those objects (such as C/C++ and Ada). This distinction helps to account for the fact that, although the syntax of Java and C++ are similar, programming in the two languages feels very different. Objects are handled very differently at runtime, which impacts how objects are manipulated in the language ...
Get Creating Components 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.