Chapter Opener Photo

APPENDIX FSolutions to Selected Exercises

1.7 Exercises, Problems, and Projects

1.7.1 Multiple Choice Exercises:

  •   1. Java

  •   4. servers.

  •   7. is a multiple of 4.

  • 10. C

  • 13. javac Hello.java

1.7.2 Converting Numbers

1.7.3 General Questions

  • 22. 2.5 billion

  • 25. red = 51; green = 171; blue = 18

  • 28. javac

2.6 Exercises, Problems, and Projects

2.6.1 Multiple Choice Exercises

  •   1. int a;

2.6.2 Reading and Understanding Code

2.6.3 Fill In the Code

  • 25.

    boolean a;
    a = false;
  • 28.

    double avg = (double) ( a + b ) / 2; System.out.println( ...

Get Java Illuminated, 5th 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.