1.  |  Which of the following statements are true?    (A) Unicode characters are all 16 bits.    (B) UTF characters are all 24 bits.    (C) Reader class has methods that can read integers and floats.    (D) File class may be used to rename a file.    (E) DataOutputStream objects are used to write primitive data to a file. |  
 |   |                              
   Hint 
  
 
Half-n-half Clue
  |     |  
  |    |  
2.  |  Which are the valid ways to create DataInputStream streams? |  
 |   |                              Half-n-half Clue
  |     |  
  |    |  
3.  |  Which exception is thrown by the read() method of InputStream class? |  
 |   |                              Half-n-half Clue
  |     |  
  |    |  
4.  |  Which of the following methods can be used to remove a java.awt.Component object from the display? |  
 |   |                              Half-n-half Clue
  |     |  
  |    |  
5.  |  Which of the following methods can be used to draw the outline of a square within a java.awt.Component object?    (A) fillRect()    (B) drawLine()    (C) drawRect()    (D) drawString()    (E) drawPolygon() |  
 |   |                              Half-n-half Clue
  |     |  
  |    |  
6.  |  What does the following line of code do?    Textfield text = new Textfield(10); |  
 |   |                              Half-n-half Clue
  |     |  
  |    |  
7.  |  Given file is a File object, which of the following are legal statements to create a new file?    (A) file.create();    (B) FileOutputStream fos = new FileOutputStream(file);    (C) FileWrter out = new FileWriter(file);    (D) FileInputStream fis = new FileInputStream(file);    (E) RandomAccessFile raf = new RandomAccessFile(file); |  
 |   |                              Half-n-half Clue
  |     |  
  |    |