4Chapter 1 Introduction to Computers, the Internet and Java
c) The ensures that messages, consisting of sequentially numbered pieces called
bytes, were properly routed from sender to receiver, arrived intact and were assembled
in the correct order.
d) The programming language was developed by Bjarne Stroustrup in the early
1980s at Bell Laboratories.
1.6 Fill in the blanks in each of the following statements:
a) Java programs normally go through five phases— , , ,
and .
b) A(n) provides many tools that support the software development process,
such as editors for writing and editing programs, debuggers for locating logic errors in
programs, and many other features.
c) The command java invokes the , which executes Java programs.
d) A(n) is a software application that simulates a computer, but hides the under-
lying operating system and hardware from the programs that interact with it.
e) The takes the .class files containing the program’s bytecodes and transfers
them to primary memory.
f) The examines bytecodes to ensure that they’re valid.
1.7 Explain the two compilation phases of Java programs.
1.8 One of the world’s most common objects is a wrist watch. Discuss how each of the follow-
ing terms and concepts applies to the notion of a watch: object, attributes, behaviors, class, inheri-
tance (consider, for example, an alarm clock), modeling, messages, encapsulation, interface and
information hiding.