Brought to you by EarthWeb
ITKnowledge Logo Login Graphic Click Here!
Click Here!
ITKnowledge
Find:
 
EXPERT SEARCH ----- nav

EarthWeb Direct

EarthWeb sites: other sites

Previous Table of Contents Next


Summary

All the elegance of the Java language and the beauty of the derived technologies are dependent on the JVM. In this way, the JVM is the heart of the Java technology suite.

It was stated in this chapter that Java’s ubiquity is a function of the number of Java-enabled platforms. Java’s ubiquity is provided by the mature and stable technology of the JVM and the Java run-time environment. However, without multiple platform implementations of the JVM and Java runtime environment, Java’s intrinsic benefit ceases to exist. This chapter provided background information and details to show how the Java technology is portable across multiple platforms.

Chapter 2, “Java Language Internals,” will begin to look at the higher-level technologies that ride on the ideas and implementations discussed in this chapter. However, before you run off to play with the fun stuff, take some time and test your skills. The following section provides a few sample questions that can be used to affirm your knowledge of JVM concepts. Keep in mind that a good portion of the nitty gritty details of this chapter were provided to round out your knowledge, and will not appear on either of the certification exams. The following review questions provide a good sample of what you can expect on the exams.

Review Questions

1.  Which one of the following best describes the role of the JVM?
A.  An interpreter
B.  A device used to execute Applets
C.  An emulator used to execute Java machine code on a native platform
D.  A plug-in to Microsoft Internet Explorer
2.  The JVM specification defines the process by which unused memory resources are collected and put onto the heap for reuse.
A.  True
B.  False
3.  The JVM architecture makes the following provisions to ensure compatibility across all processors:
A.  Uses a stack-based architecture
B.  Is modeled after the lowest common denominator architecture
C.  Minimizes the use of registers
D.  A and B
E.  A and C
4.  A Java runtime environment is available on Windows 3.1.
A.  True
B.  False
5.  The JVM registers and stack are:
A.  8 bits wide
B.  16 bits wide
C.  32 bits wide
D.  64 bits wide
6.  The Windows 3.1 Java runtime environment supports threads.
A.  True
B.  False
7.  The Class file contains the following:
A.  JVM executable instructions
B.  Method naming information
C.  Field naming information
D.  All of the above
8.  Classes are executed by the JVM in this manner:
A.  The ClassLoader loads the class into the JVM for execution, and then signals for execution to begin.
B.  The ClassLoader finds, verifies, and loads the class into the JVM for execution, and then signals for execution to begin.
C.  The JVM prompts the user for the class to execute.
D.  The runtime environment loads the Applet information into the JVM, and then begins the JVM process.
9.  A JavaChip is:
A.  An accelerator chip designed to aid the JVM running on the native machine
B.  A chip which stores Java class files to increase ClassLoader performance
C.  A silicon implementation of the JVM
D.  The chip inside Sun’s JavaStation
10.  What major feature(s) was/were debuted in the JDK 1.1?
A.  JDBC
B.  RMI
C.  JavaBeans
D.  Improved AWT
E.  None of these
F.  All of these

Review Answers

1.  C
2.  B
3.  E
4.  A
5.  C
6.  B
7.  D
8.  B
9.  C
10.  F

Answers to Test Yourself Questions at Beginning of Chapter

1.  E
2.  C


Previous Table of Contents Next
HomeAbout UsSearchSubscribeAdvertising InfoContact UsFAQs
Use of this site is subject to certain Terms & Conditions.
Copyright (c) 1996-1999 EarthWeb Inc. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement.