Tại sao bạn cần phải sử dụng một trình biên dịch? 2. Điều gì sẽ xảy ra nếu bạn không bao gồm phần mở rộng. Java khi xác định tập tin mã nguồn của bạn để trình biên dịch? 3. Khi bạn sử dụng các tùy chọn với lệnh javac, nơi nào bạn đặt chúng trong các dòng lệnh? 4. | Review Questions 1. Why do you need to use a compiler 2. What happens if you fail to include the .java extension when specifying your source-code file to the compiler 3. When you use options with the javac command where do you place them in the command line 4. Can you specify more than one command-line option at a time 5. How do you set a different target directory for the compiler s output files 6. What does the -g command-line option do 7. What does the -nowarn command-line option do 8. How do you get the compiler to show you what it s doing as it works 9. How do byte-code files enable Java to run the same programs on different types of computers Review Exercises 1. Compile an applet instructing the compiler to include debugging information in the byte-code file. 2. Compile an applet with the verbose setting and study the information the compiler displays on the screen. 3. Compile an applet specifying no warnings optimization and an output directory of C cLaSSES MyCLASSES. Chapter 35 Using the Interpreter CONTENTS What the Interpreter Does Running the Interpreter o Keeping Files Up to Date o Setting the Class Path o Switching On Verbose Output o Example Running an Application with Verbose Output o Getting Help Summary Review Questions Review Exercises When you re running applets from within a Web browser you don t have to be concerned with the Java interpreter and how it executes Java programs. However the only way to run Java Standalone applications is by loading them directly into the interpreter. These means typing a command line in much the same way you did for compiling files. The command line not only tells the Java interpreter which program you want to run but also the command-line options you want to use when running the program. In this chapter you study the Java interpreter in detail. What the Interpreter Does As you learned in the previous chapter the Java compiler converts your Java source code into a .CLASS file. Unlike the files created by a C .