Self-Review Exercises
-
A.1 Fill in the blanks in each of the following statements:
A(n) begins the body of every method, and a(n) ends the body of every method.
The statement is used to make decisions.
begins an end-of-line comment.
, and are called white space.
are reserved for use by Java.
Java applications begin execution at method .
Methods , and display information in a command window.
-
A.2 State whether each of the following is true or false. If false, explain why.
Comments cause the computer to print the text after the
//
on the screen when the program executes.All variables must be given a type when ...
Get Android How to Program, 3/e 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.