Programming - Streams and Files
You Are Here :: Home > JAVA > Streams and Files - General Questions
37. |
specifies whether the file has to be opened in the read mode ("r") or read write mode ("rw") is nothing but a _________
|
A. |
mode |
B.
|
operation |
C.
|
function
|
D.
|
variable
|
|
Answer: Option A
Explanation:
specifies whether the file has to be opened in the read mode ("r") or read write mode ("rw") is nothing but a mode. |
|
38. |
Random Access File class allows us to open a file in ______________________ mode
|
A. |
read mode |
B.
|
write mode |
C.
|
read write mode
|
D.
|
write read mode
|
|
Answer: Option C
Explanation:
Random Access File class allows us to open a file in read write mode |
|
39. |
__________________ function is used to receive data entered by the user in the console.
|
A. |
readconsloedata() |
B.
|
writerecord() |
C.
|
readrecords()
|
D.
|
readwriterecords()
|
|
Answer: Option A
Explanation:
readconsoledata() function is used to receive data entered by the user in the console. |
|
40. |
____________________ function writes the records into the file.
|
A. |
readconsloedata() |
B.
|
writerecord() |
C.
|
readrecords()
|
D.
|
readwriterecords()
|
|
Answer: Option B
Explanation:
writerecord() function writes the records into the file. |
|
41. |
After all the records are entered into the life,then each record is read from the file and displayed on the screen is called _____________________
|
A. |
readconsloedata() |
B.
|
writerecord() |
C.
|
readrecords()
|
D.
|
readwriterecords()
|
|
Answer: Option C
Explanation:
After all the records are entered into the life,then each record is read from the file and displayed on the screen is called readrecords(). |
|
42. |
___________________ is the concept of transferring the objects of classes from the Ram to any other location outside the RAM.
|
A. |
serialization |
B.
|
polymorphism |
C.
|
inheritence
|
D.
|
abundancy
|
|
Answer: Option A
Explanation:
serialization is the concept of transferring the objects of classes from the Ram to any other location outside the RAM. |
|
« prev
next »