Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
26Activity
0 of .
Results for:
No results containing your search query
P. 1
rr221902-object-oriented-programming-(through-java)

rr221902-object-oriented-programming-(through-java)

Ratings:
(0)
|Views: 1,900|Likes:
Published by SRINIVASA RAO GANTA

More info:

Published by: SRINIVASA RAO GANTA on Sep 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

 
Code No: RR221902
Set No. 1
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008OBJECT ORIENTED PROGRAMMING (THROUGH JAVA)(Electronics & Computer Engineering)Time: 3 hours Max Marks: 80Answer any FIVE QuestionsAll Questions carry equal marks
⋆ ⋆ ⋆ ⋆ ⋆
1. Explain the parameter passing mechanism in Java with an example. [16]2. (a) What is a constructor? What is the difference between default constructorand Parameterized constructor?(b) Explain briey about the packages? [8+8]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]4. (a) What is an event driven programming and how is it structured?(b) How events are categorized in Java?(c) What is an adapter class and how can adapter classes are effective? [5+5+6]5. (a) What is an exception? How can java handle the exceptions? Illustrate withan example.(b) Explain about various key words used in handling the exceptions. [8+8]6. (a) How can characters be read in java?(b) What is the strategy to read sentences in java? [8+8]7. Describe the various methods in HTTP Servlet request interface and HTTP Servletresponse interface. [16]8. (a) Write a client server program using java.net package. Where client sendsmessages 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 2008OBJECT ORIENTED PROGRAMMING (THROUGH JAVA)(Electronics & Computer Engineering)Time: 3 hours Max Marks: 80Answer any FIVE QuestionsAll Questions carry equal marks
⋆ ⋆ ⋆ ⋆ ⋆
1. Explain various control structures and lexical issues in Java. [16]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 StringBufferclass.(b) Write a Java program to illustrate the usage of the append() method. Giveoutput. [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 monitorusing 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]8. Explain the creation of distributed application using RMI. [16]
⋆ ⋆ ⋆ ⋆ ⋆
1 of 1
 
Code No: RR221902
Set No. 3
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008OBJECT ORIENTED PROGRAMMING (THROUGH JAVA)(Electronics & Computer Engineering)Time: 3 hours Max Marks: 80Answer any FIVE QuestionsAll Questions carry equal marks
⋆ ⋆ ⋆ ⋆ ⋆
1. (a) Explain briefly the main concepts of object-oriented programming.(b) What are constructor and destructor functions? Explain different types of constructors? [8+8]2. Explain the following in detail:(a) Data abstraction(b) packages(c) constructors(d) destructors. [4
×
4]3. (a) Contrast the String class with the StringBuffer class.(b) Write a Java program to illustrate the usage of the replace() method of theStringBuer class. Give output. [8+8]4. What is an adapter class? Describe about various adapter classes in detail. [16]5. (a) Define an exception? How the programmer can handle it?(b) Illustrate the use of try, catch and finally blocks by sample statements for arare type runtime. [8+8]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 Servletresponse interface. [16]8. Explain in detail RMI architecture? [16]
⋆ ⋆ ⋆ ⋆ ⋆
1 of 1

Activity (26)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
mariomato liked this
Ishan Ghosh liked this
Shinigami Danna liked this
Ojo Solomon liked this
Chen Chong liked this
Elena Nanu liked this
Marius Tulbure liked this
Ahmad Mohd Isa liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->