0502 Object Oriented Programming Through Java Set1
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

0502 Object Oriented Programming Through Java Set1

on

  • 497 views

0201 Managerial Economics And Financial Analysis

0201 Managerial Economics And Financial Analysis

Statistics

Views

Total Views
497
Views on SlideShare
497
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

0502 Object Oriented Programming Through Java Set1 Document Transcript

  • 1. www.studentyogi.com www.studentyogi.com Code No: RA210502 RA II B.Tech II Semester Supplimentary Examinations, Apr/May 2008 OBJECT ORIENTED PROGRAMMING THROUGH JAVA ( Common to Electronics & Communication Engineering, Computer Science & Engineering and Information Technology) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. Write a program for concatenating two strings. [16] 2. (a) Name any four Java packages. Give any two classes of a package. (b) What is data abstraction? What is information hiding? Contrast them. (c) Contrast: inheritance Vs. composition. [6+5+5] 3. (a) De ne virtual function and give advantages of it. (b) Explain about static and dynamic binding with examples. [8+8] 4. Describe about various components in Swing. [16] 5. A program throws an exception and the appropriate exception handler begins exe- cution, and this exception handler in turns throws the same exception. Is this above approach creating an in nite recursion? Justify your answer with an example. [16] 6. De ne a Thread? Explain the hierarchy of Thread class? Discuss about the various methods in thread class with examples. [16] 7. Write a program to handle HTTP get request? [16] 8. (a) What is TCP/IP? What is the di erence between TCP/IP and UDP/IP? (b) What is socket? Which socket is used for client and server in TCP? (c) How does a client can create a connection with a server? How does a server can create a connection with a client? [5+5+6] 1 of 1 www.studentyogi.com www.studentyogi.com