Tuesday, 20 September 2011

IT2301 retest question paper


The same 15 questionns
PART-B
1.What is object cloning? Why it is needed? Explain how objects are cloned? And
          Explain the types of cloning with an example program.                                            
 2.Explain all 2D package classes.Write a java program to draw the circle using
          swing components.                                                                                             
3.Define reflection and uses of reflection.Explain the following term related to Reflection
        1)Analyze the cabability of classes.     2) Analyze the Object capability at run time.
        3)Generic array code implementation.  4)Exception types.5)Class class                         
4.Draw the structure of relationship between the shape classes.                                  
     
5.What is Frame? How is a Frame created? Explain Frame properties.Write a java program
         display “Not a Hello,World  Program with Red Color” label  in the Frame window.        
6.Write a code to copy the contents of the file input.txt one byte at a time to output.txt     
7.Write a java program to calculate sum,average of  5 number using interface      
8.Explain the types of Inner classes.                                                                        
9.Briefly explain about I/O streams with an example program.                                        
10. Consider a class person with attributes firstname and lastname.Write a java program to       
        create and clone instances of the Person class.                                                      
11.write a java program  to display  the “JAVA PROGRAMMING LAB”  message  with  
             yellow color  using java swing text component.
12.Define Proxy class?When you need that class? Define all Proxy Class methods.         

*******************************ALL THE BEST*************************

No comments:

Post a Comment