You are on page 1of 1


Code: R5220403

II B.Tech II Semester (R05) Supplementary April/May 2012 Examinations OOPS THROUGH JAVA
(Common to Electronics & Communication Engineering, Computer Science & Engineering, Information Technology, Computer Science & Systems Engineering and Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ***** 1. (a) Of what importance is the Java to the internet? Explain Javas byte code. (b) Explain procedure for variable declaration and initialization with examples. 2. (a) Discuss the general form of a method. Write a method to compute the volume of a cone. (b) Discuss overloading methods with examples. 3. (a) Discuss the procedure to create a multilevel hierarchy with an example. (b) Why methods need to be overridden? Give an example showing the advantages of the same. 4. (a) Explain the concept of packages and their physical organization. (b) Write a program to implement stack operations using interfaces. 5. (a) Discuss the fundamentals of exception handling. (b) Explain the Java thread model. 6. (a) Discuss the importance of adapter classes with suitable examples. (b) Explain the procedure to work with color with supported methods. 7. (a) Define list and explain how to handle it. (b) What is the importance of combo boxes? Explain with examples. 8. (a) Discuss the role of TCP/IP sockets. (b) Discuss the importance of Java utility package.