Java Programming OOPs
Questions 251 to 260
| 
251. | 
Which of
  the following is not a built-in
  exception found in java API? 
 | ||||||||||
| 
Which of
  the following exception is caused when a math error such as division by zero
  occurs? 
 | |||||||||||
| 
Which of
  the following is not an Applet
  method? 
 | |||||||||||
| 
Which of
  the following is not a valid Java
  identifier? 
 | |||||||||||
| 
Which of
  the following method is inherited by Applet from its parent class? 
 | |||||||||||
| 
Which of
  the following is a character stream? 
 | |||||||||||
| 
Which of
  the following stream is/are used to handle primitive data types? 
 | |||||||||||
| 
Which of
  the following stream is used for Object Serialization? 
 | |||||||||||
| 
Every
  Java applet or application is composed of at least one 
 | |||||||||||
| 
The extends keyword creates a new 
 | 
Answers
| 
251. | 
Answer :  (e) 
Reason  :       SystemFoundException
  is not a built-in exception. | 
| 
Answer :  (a) 
Reason  :       Arithmetic
  Exception is caused when a math error such as division by zero occurs | |
| 
Answer :  (c) 
Reason  :       run()
  is not an applet method | |
| 
Answer :  (a) 
Reason  :       my Value
  (Identifiers may not contain blanks) | |
| 
Answer :  (a) 
Reason  :       paint
  following method is inherited by Applet from its parent class. | |
| 
Answer :  (d) 
Reason  :       FileReader
  is a character stream. | |
| 
Answer :  (b) 
Reason  :       DataInputStream
  is used to handle primitive data types | |
| 
Answer :  (c) 
Reason  :       ObjectOutputStream  is used for Object Serialization | |
| 
Answer :  (c) 
Reason  :       Class
  definition | |
| 
Answer :  (b) 
Reason  :       subclass
  (the class is derived from the superclass) | 
 
 
No comments :
Post a Comment