Beruflich Dokumente
Kultur Dokumente
1
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008
OBJECT ORIENTED PROGRAMMING (THROUGH JAVA)
(Electronics & Computer Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
3. (a) Write a java program to illustrate the usage of reverser() method of String-
Buffer. Give output.
(b) Explain delete() and deletecharAt() methods of StringBuffer class. [8+8]
5. (a) What is an exception? How can java handle the exceptions? Illustrate with
an example.
(b) Explain about various key words used in handling the exceptions. [8+8]
7. Describe the various methods in HTTP Servlet request interface and HTTP Servlet
response interface. [16]
8. (a) Write a client server program using java.net package. Where client sends
messages and server should receive and print on its monitor.
(b) Give an overview of servlets. [8+8]
⋆⋆⋆⋆⋆
1 of 1
Code No: RR221902 Set No. 2
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008
OBJECT ORIENTED PROGRAMMING (THROUGH JAVA)
(Electronics & Computer Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
2. (a) What is multiple inheritance? Explain how does Java support multiple inher-
itance?
(b) Write about the data types supported by Java? [8+8]
3. (a) Explain the overloaded versions of the append() method of the StringBuffer
class.
(b) Write a Java program to illustrate the usage of the append() method. Give
output. [8+8]
4. What is an adapter class? Describe about various adapter classes in detail. [16]
5. (a) Distinguish between exception handler and conventional methods for the process-
ing of errors.
(b) Discuss about the various runtime exceptions arise during arithmetic opera-
tions. [8+8]
6. (a) Write a program to read input from the key board and echo it on the monitor
using InputStreamReader.
(b) Explain about the various InputStreams and OutputStreams in java. [8+8]
7. Describe the architecture of Servlet? What are the requirements for java Servlet?
[16]
⋆⋆⋆⋆⋆
1 of 1
Code No: RR221902 Set No. 3
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008
OBJECT ORIENTED PROGRAMMING (THROUGH JAVA)
(Electronics & Computer Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
4. What is an adapter class? Describe about various adapter classes in detail. [16]
6. Write a program to count the number of words, characters, and sentences in a file.
[16]
7. Describe the various methods in HTTP Servlet request interface and HTTP Servlet
response interface. [16]
⋆⋆⋆⋆⋆
1 of 1
Code No: RR221902 Set No. 4
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008
OBJECT ORIENTED PROGRAMMING (THROUGH JAVA)
(Electronics & Computer Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆
2. (a) What is multiple inheritance? Explain how does Java support multiple inher-
itance?
(b) Write about the data types supported by Java? [8+8]
4. Write a sample program to handle Mouse events and window events. [16]
6. Write a program to implement all the file operations on a student database. [16]
7. Describe the JDBC architecture and explain the process of writing JDBC programs.
[16]
⋆⋆⋆⋆⋆
1 of 1