Answer: file object and file instance : Questions « File « SCJP
Home
SCJP
1.
Java Source And Data Type
2.
Operators
3.
Modifiers
4.
Type Casting
5.
Statements
6.
Object Oriented
7.
Thread
8.
Utility Classes
9.
File
SCJP
»
File
»
Questions
9.7.2.Answer: file object and file instance
D
Creating a File object does not
do
anything to the file system.
9.7.Questions
9.7.1.
What happens to the file system when the following code is run and the myFile object is created?
9.7.2.
Answer: file object and file instance
9.7.3.
What is the result of trying to compile and run this code?
9.7.4.
Answer: url and RandomAccessFile
9.7.5.
System.out is a PrintStream(True/False).
9.7.6.
Answer: System.out stream
9.7.7.
System.out is an OutputStream(True/False).
9.7.8.
Answer: System.out(2)
9.7.9.
System.out is a FilterOutputStream(True/False).
9.7.10.
Answer: System.out(3)
9.7.11.
Which of the following objects can't be used in the constructor of a DataInputStream object?
9.7.12.
Answer: DataInputStream
9.7.13.
Which of the following Java entities are not abstract classes or interfaces?
9.7.14.
Answer: abstract class and I/O classes
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.