Categories
Computer

Which of the following stream is a filter stream?

► FileWriter
► FileReader
► BufferedReader (Page 91)
► All of given options

Categories
Computer

Which of the following is true about abstract class?

► An abstract class must have all methods declared as abstract methods.
► A class must have at least one abstract method to be an abstract class.
► A class without any abstract method can be declared as abstract class. Click here for detail
► An instance of abstract class can be created.

Categories
Computer

Which of the following is called ‘ pure abstract class ‘ ?

► Concrete class
► Wrapper class
► Interface (Page 98) rep
► Abstract class with no abstract method

Categories
Computer

– Which of the following is called ‘ pure abstract class ‘ ?

► Concrete class
► Wrapper class
► Interface (Page 98)
► Abstract class with no abstract method

Categories
Computer

The relationship between class and interface is called ________

► ‘ Is a ‘ relationship (Page 98)
► ‘ Has a ‘ relationship
► ‘ Responds to ‘ relationship
► None of the given options

Categories
Computer

An abstract class —————instantiated.

Cannot be Click here For Detail
► Can be
► Must
► None of these

Categories
Computer

An instance of abstract class cannot be created

► TRUE Click here For Detail
► FALSE
Categories
Computer

Which of the following stream read/write data in the form of bytes?

► FileReader
► FileWriter
► PrintWriter
► FileInputStream (Page 87)

Categories
Computer

– The classes which contain the word _____ are byte oriented streams.

► Reader
► Writer
► Stream (Page 87)
► Byte

Categories
Computer

When defining a method you must include a/an ……. to declare any exception that might be thrown but is not caught in the method:

► try block
► finally block
► catch block
► throws clause