O'Reilly logo

Android™ How to Program, Second Edition by Abbey Deitel, Harvey Deitel, Paul Deitel

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

Exercises

A.7 Fill in the blanks in each of the following statements:

a) ____________ are used to document a program and improve its readability.

b) A decision can be made in a Java program with a(n) ____________.

c) Calculations are normally performed by ____________ statements.

d) The arithmetic operators with the same precedence as multiplication are ____________ and ____________.

e) When parentheses in an arithmetic expression are nested, the ____________ set of parentheses is evaluated first.

f) A location in the computer’s memory that may contain different values at various times throughout the execution of a program is called a(n) ____________.

A.8 Write Java statements that accomplish each of the following tasks:

a) Display the message ...

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