The __________ marker is the character that marks the end of a file and is automatically written when the file is closed.

a. End Of File (EOF)
b. No More Data (NMD)
c. Data Stream Close (DSC)
d. Data Read Stop (DRS)
e. None of these

a. End Of File (EOF)

Computer Science & Information Technology

You might also like to view...

Flash memory contents are lost when power is removed

Indicate whether the statement is true or false

Computer Science & Information Technology

Modify the application you developed in Exercise 10.11. to calculate the present value for a future value. Recall that to calculate the present investment you should use the formula:



where

p is the amount needed to achieve the future value

r is the annual interest rate (for example, 5 is equivalent to 5%)

n is the number of years

a is the future-value amount.



For example, if a customer wants to reach the financial goal of $15,000 over a period of 5 years when the interest rate is 6.6%, the customer would need to invest $10,896.96 as shown in Fig. 13.23. The years are to be entered with a JSpinner in the range from 0 to 30 in incre- ments of 5. Your application should clear the JTextArea if the values in any of the input components are modified. Your application should also provide the user with a Clear JBut- ton which will clear the JTextFields and JTextArea and reset the value in the JSpinner to the initial value (0).



) Copying the template to your work

Computer Science & Information Technology