Thursday, 8 September 2011

TWO MARK QUESTIONS

QUESTIONS:

1. Define serialization and BufferedOutputStream class
2..Define hashCode() method and write the hashCode algorithm for String class.
3. Write a java program to read the characters  using BufferedReader class.
4.  How does the declaration of a local inner class differ from the declaration of an anonymous    
     inner class.

5. Define  AWT and Swing

6. Differentiate Interface and Abstract class.

7. What are the mehods available in the Object class.
8. How does the declaration of a local inner class differ from the declaration of an anonymous    
     inner class.
9. What is the difference between the File and Random Access File classes?
10. Define serialization and BufferedReader class
11.What are the steps to implement  the Interface and define any two default interfaces.
12.
Explain DataInputStream and DataOutputStream class.
13.Draw the structure of relationship between the shape classes.
14.Write a code to copy the contents of the file input.txt one byte at a time to output.txt using FOS and FIS.  
15.Explain the properties of Proxy Class 

No comments:

Post a Comment