Which of the following statements will write the text "Programming" to a sequential access file?

A. outFile.Write("Programming")
B. outFile.Append("Programming")
C. outFile.Write{"Programming"}
D. outFile.Add["Programming"]

Answer: A

Computer Science & Information Technology

You might also like to view...

You can use the Format Data Labels dialog box to change the Value or Percentage in a line chart

Indicate whether the statement is true or false

Computer Science & Information Technology

Match each item with a statement below.

A. A program or class that instantiates objects of another prewritten class. B. A definition containing an optional access modifier, the keyword class, and an identifier. C. A type that refers to a specific memory location. D. This allows assignment of values to fields using a property name. E. This retrieves an object's field values. F. Identifiers that act like keywords in specific circumstances. G. An alternative to repeating code in the constructors. H. An automatically generated constructor for a class. I. The value of an object initialized with a default constructor. J. A property that has only a get accessor, and no set accessor.

Computer Science & Information Technology