Question 25 :
Which of the following are true about the File class? Select two choices.
Question 26 :
What will happen when you attempt to compile and run the following code?
Choose one answer.
a. It will print - 57.5
b. It will print - 57.0
c. It will print - 58.0
d. Compilation error
e. Runtime exception
a. It will print - 57.5
b. It will print - 57.0
c. It will print - 58.0
d. Compilation error
e. Runtime exception
Question 27 :
What is the result of compiling and running the given code?
Choose one answer
a. Compiler error
b. Exception at runtime
c. Prints 0
d. Prints 1
e. Prints 2
f. Prints 3
g. Prints 4
a. Compiler error
b. Exception at runtime
c. Prints 0
d. Prints 1
e. Prints 2
f. Prints 3
g. Prints 4
<<<Previous Page Next Page >>>