Jawaharlal Nehru Technological University Hyderabad 2006 B.E Electronics & Tele-Communication Engineering OOPS THROUGH JAVA - Question Paper
Tuesday, 18 June 2013 01:10Web
OOPS THROUGH JAVA SET NO : 1
November - 2006
(Common to II B.tech II Semester CSE,IT & ECE)
(II B.Tech I Semester ME)
ans any 5 ques.
All ques. carry equal marks
1. Write a program that will calculate the subsequent series
a) 1/1+1/2+1/3+........+1/n
b) 1/1+1/2+1/2^(2)+.......+1/2^(n) [8+8]
2. a) When do we declare a method or class final?
b) When do we declare a method or class abstract?
c) define various levels of access protections avilable in java?
[4+4+8]
3. What is inheritance ? define the differences in inheritances in
c++ and java? [16]
4. Write a programme to create a class containing a inner class that
it self contains an inner class. Repeat this using static classes.
Note the names of the class files produced by the compiler. [16]
5. a) What is multithreading? elaborate its advantages?
b) Compare process based and thread based multitasking. [6+10]
6. discuss in detail about the subsequent event classes
a) Component Event
b) Container Event
c) Focus Event [6+5+5]
7. What is the use of Jframe containing a JDesktoppane, which has a
single JInternalFrame. [16]
8. Write a short note on:
a) Currency Class
b) Proxy Servers
C) DNS. [5+5+6]
Earning: Approval pending. |