What is the name of the class from which all input file objects are created?

A. ifstream
B. ofstream
C. fstream
D. inputstream

Answer: A

Computer Science & Information Technology

You might also like to view...

Scroll bars occur automatically when a window is minimized enough so that not all information can fit

Indicate whether the statement is true or false

Computer Science & Information Technology

Given the following classes and their objects:

``` class C1 {}; class C2 extends C1 {}; class C3 extends C1 {}; C2 c2 = new C2(); C3 c3 = new C3(); ``` Analyze the following statement: c2 = (C2)((C1)c3); a. c3 is cast into c2 successfully. b. You will get a runtime error because you cannot cast objects from sibling classes. c. You will get a runtime error because the Java runtime system cannot perform multiple casting in nested form. d. The statement is correct.

Computer Science & Information Technology