The JavaScript method ____ simply inserts a string of characters into the standard HTML text stream.
A. document.write()
B. document.text()
C. document.stream()
D. document.window()
Answer: A
You might also like to view...
The View Name application allows the user to enter the user’s first and last name. When the user clicks the View Name JButton, a JOptionPane that displays the user’s first and last name appears. Your application creates an instance of Class Name. This class uses set methods to set the first-name and last-name instance variables. While testing your application, you noticed that the JOptionPane did not display the correct out- put. The last name is displayed, but the first name is not. The GUI is shown in Fig. 18.42.
a) Copying the template to your working directory. Copy the C:Examples Tutorial18ExercisesDebuggerViewName directory to your C:SimplyJava directory.
b) Opening the Command Prompt window and changing directories. Open the Com- mand Prompt window by selecting Start > Programs > Accessories > Command Prompt. Change to your working directory by typing cd C:SimplyJavaViewName.
c) Using the debugger. Use the debugger to find the logic error(s) in your application.
Use the watch command to see all the changes to the instance variables of class Name. When you have found the logic error, change the code appropriately. The application with the correct output is displayed in Fig. 18.42.
d) Saving the application. Save your modified source code files.
e) Compiling the application. Compile the application by typing javac
ViewName.java Name.java.
f) Running the application. When your application compiles correctly, run it by typing java ViewName.
____ utilities scan incoming and outgoing files to be sure they are safe.
A. Security B. Widget C. Indexed D. Monitoring
VBA supports three kinds of procedures: public, private, and sub
Indicate whether the statement is true or false
The ____________________ hijacking attack uses IP spoofing to enable an attacker to impersonate another entity on the network.
A. WWW B. TCP C. FTP D. HTTP