oop.PDF - CodeNo:V0422...

This preview shows page 1 - 2 out of 4 pages.

    Code No: V0422    II B.Tech II Semester (R07) Regular/supply  Examinations, Apr- 2010    OBJECT ORIENTED PROGRAMMING  (Electronics and Communications Engineering)    Time: 3 Hours                                           Max Marks: 80  Answer any FIVE Questions  All Questions carry equal marks         1.   a) With an example, explain scope and lifetime of variables.  b) Write a java program, using command line arguments, to accept two integers and print  there sum.    2.  a) Write a java program to demonstrate any five String library functions.    b) Describe different levels of access protection available in java.    3.  What is  Serialization ? Describe the advantages of using serialization, and also describe the  disadvantages of serialization, when an object's physical representation differs substantially  from its logical data.    4.  a) What is an interface? In what way it is different from class? Describe the similarities  between classes and interfaces.    b) Describe the various forms of implementing interfaces.    5.  a) What is an Exception? With an example describe IllegalArgumentException and                               IllegalStateException.    b) Describe the importance of synchronizing threads.    6.  a) Briefly describe the delegation event model.    b) Describe any six integer constants defined by KeyEvent.    7   a) Demonstrate a simple java program using drawRect and fillRect methods.      b) Describe Border and Grid Layout managers.    8.  Write short notes on    a)  JFrame and JComponent    b)  Adapter classes    c) 
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '16
  • SANDEEP

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern