Object Oriented Programming MCQs

Page No. 93

FileInputStream _________________________


aGets the input stream from any device file


bGets the input stream from any open socket


cGets the input stream from any cache


dGets the input stream from any open file only



What is a FileDescriptor?


aA handle for machine specific structure of an open file


bA handle for program specific structure of an open file


c A handle for compiler specific structure of an open file


dA handle for representing device files structure



File class is ____________________________


aAn abstract of file representation only


bAn abstract of path names only


cAn abstract which can be used to represent path names or file


dAn abstract which can represent a file in any format



Which among the following class contains the methods to access character based console device?


aConsole


bFile


cDevice


dPipe


View Answer Console

IO class provides input and output through ______________________


aData streams


bSerialization


cFile system


dData streams, serialization and file system



What is the use of IO class?


aTo handle all the input operations


bTo handle all the output operations


cTo handle all the input and output operations


dTo handle all the input and output to the standard input



Goto Page No.

Page 93 of 93

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan