Question: 3.If we read a byte and the value represents an international character equal to 133 using an InputStream object, what is true about the int

3.If we read a byte and the value represents an international character equal to 133 using an InputStream object, what is true about the int value we will read?

It will be 133.

It will be -133.

It will be some negative value.

It will be some positive value.

13.How many bytes does the read method in the FileInputStream class actually get from the file?

1

2

4

8

14. Which is not a method in the RandomAccessFile class?

getFilePointer

seek

scan

length

16.The read method of the FileInputStream class reads binary data. What type is actually returned from a call to read?

int

char

String

byte

17.If we want to write objects to a file, what type of object should be passed to the ObjectOutputStream constructor?

ObjectStream

FileStream

FileOutputStream

ObjectInputStream

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!