Object Oriented Programming MCQs

Page No. 92

What are inbuilt classes?


aThe predefined classes in a language


bThe classes that are defined by the user


cThe classes which are meant to be modified by the user


dThe classes which can’t be used by the user



Which among the following is a serialization descriptor for any class?


aStreamClass


bObjectStreamClass


cObjectStream


dStreamObjectClass


View Answer ObjectStreamClass

RandomAccessFile can be used to _______________________


aRead from a random access file


bWrite to a random access file


cRead and write to a random access file


dRestricts read and write to a random access file



PushBackReader allows the streams to be pushed back to the stream.


aTrue


bFalse


cA & B


d None of these


View Answer True

Which exception handler can be used when character encoding is not supported?


aUnsupportedException


bUnsupportedEncodingException


cSupportException


dEncodingException



StringReader handles _____________________


aAny character stream


bA character stream whose source is an array


cA character stream whose source is character array


dA character stream whose source is String only



Which class can handle IO class interrupt?


aExceptionIO


bInteruptedIO


cInteruptedIOException


dIOInteruptException


View Answer InteruptedIOException

Reader class is _________________


aUsed to read from files


bAbstract class to read character streams


cAbstract class to input character streams


dUsed to take input from standard input stream



Which class among the following makes incorrect assumptions?


aLineNumberInputStream


bLineNumberReader


cLineReader


dLineBuffer


View Answer LineNumberInputStream

What does FilePermission class do?


aThis class is used to give permission rights to a file


bThis class is used to restrict the use of permissions


cThis class is used to represent device access permissions


dThis class is used to represent file access permissions



Goto Page No.

Page 92 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