O'Reilly logo

Java Programming for Android Developers For Dummies, 2nd Edition by Barry A. Burd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5

Java's Building Blocks

IN THIS CHAPTER

check Assigning values to things

check Making things store certain types of values

check Applying operators to get new values

I've driven cars in many cities, and I'm ready to present my candid reviews:

  • Driving in New York City is a one-sided endeavor. A New York City driver avoids hitting another car but doesn't avoid being hit by another car. In the same way, New York pedestrians do nothing to avoid being hit. Racing into the path of an oncoming vehicle is commonplace. Anyone who doesn't behave this way is either a New Jersey driver or a tourist from the Midwest. In New York City, safety depends entirely on the car that's moving toward a potential target.
  • A driver in certain parts of California will stop on a dime for a pedestrian who's about to jaywalk. Some drivers stop even before the pedestrian is aware of any intention to jaywalk.
  • Boston's streets are curvy and irregular, and accurate street signs are rare. Road maps are outdated because of construction and other contingencies. So driving in Boston is highly problematic. You can't find your way around Boston unless you already know your way around Boston, and you don't know your way around ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required