Java Programming Questions & Answers: part16



Software Programming : Java Programming QUESTIONS AND ANSWERS :: part16 : 1 to 5

Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :

1.Which of the following is a character stream?

FileInputStream
DataInputStream
BufferedInputStream
FileReader
FileOutputStream.

2.Which of the following is not an Applet method?

start()
init()
run()
stop()
destroy().

3.Which of the following exception is caused when a math error such as division by zero occurs?

ArithmaticException
DivisionByZeroException
NumberFormatException
IOException
ArrayIndex OutofBoundException.

4.Every Java applet or application is composed of at least one

Method
Data member
Class definition
Imported class
Package definition.

5.Which of the following stream is used for Object Serialization?

DataOutputStream
DataInputStream
ObjectOutputStream
ObjectWriter
ObjectReader.

More Java Programming QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
Too many of us are not living our dreams because we are living our fears.- Les Brown