You are on page 1of 1

Code :RA07A4EC08 RA

II B.Tech I semester (R09) Regular Examinations, November 2010


OBJECT ORIENTED PROGRAMMING
(Electronics & Communication Engineering)
(For students of R07 regulation readmitted to II year I sem R09)
Time: 3 hours Max Marks: 70
Answer any FIVE questions
All questions carry equal marks
?????

1. (a) What is the role of java in Internet.


(b) Explain various OOP principles.
(c) Explain scope of a variable in Java using a suitable example.
2. (a) Differentiate between static and instance methods.
(b) How do we define nested classes? Give an example.
(c) Describe about garbage collection.
3. (a) Explain about various forms of inheritance and give some examples.
(b) Write a program to find volume of an object like cube/cylinder/sphere using overloading
concept.
4. Write a program to illustrate any of three java built-in exceptions using nested ’trys’ and
multiple ‘catches’.
5. (a) Distinguish between classes and interfaces.
(b) Write a program to demonstrate the behavior of inter thread communication with suitable
example.
6. (a) Describe briefly event handling mechanism in java.
(b) Explain window object with and example.
7. (a) Write the differences between an applet and an application.
(b) Write a java program to construct an applet consisting of 2 frames. First frame takes 2
text fields namely NAME and RANK and second frame takes 3 check boxes for category.
8. Write short notes on:
(a) Inet address
(b) TCP/IP sockets
(c) URL connections
(d) Java.io package.

?????

You might also like