How To Exam?

a knowledge trading engine...


Jawaharlal Nehru Technological University Kakinada 2008 B.Tech Information Technology OOPS THROUGH JAVA - Question Paper

Saturday, 10 August 2013 05:05Web
do you invoke a method?
(b) What is method overloading? Can you describe 2 methods that have identical
name but various parameter types? Can you describe 2 methods in a class
that have identical method names and parameter profile with various return
value kinds or various modifier ? [8+8]
3. Add a new method in the base class of Shapes.java that prints a message, but don’t
override it in the derived classes. discuss what happens. Now override it in 1 of
the derived classes but not the others, and discuss what happens. Finally, override
it in all the derived classes, discuss in detail about every situation. [16]
4. (a) What is a package? How do we design a package?
(b) How do we add a class or interface to a package? [8+8]
5. (a) describe multithreading. provide an example of an application that needs multi-
threading.
(b) How multithreading in single processor system is various from multithreading
in multiprocessor system. discuss. [6+10]
6. Write a java program which creates human face. [16]
7. elaborate different JFC containers? List them according to their functionality. Ex-
plain every of them with examples. [16]
8. (a) explain briefly about the following: TCP, UDP, URL
(b) What is InetAddress? How to create an InetAddress? What is its use? [8+8]
? ? ? ? ?
1 of 1
Code No: R05220402 Set No. 3
II B.Tech II Semester Regular Examinations, Apr/May 2008
OOP THROUGH JAVA
( Common to Electronics & Communication Engineering, Computer Science
& Engineering, info Technology, Computer Science & Systems
Engineering, Electronics & Telematics and Electronics & Computer
Engineering)
Time: three hours Max Marks: 80
ans any 5 ques.
All ques. carry equal marks
? ? ? ? ?
1. (a) define the genesis of java. Also write brief overview of java.
(b) Write a program to convert the provided temperature in Fahrenheit to Celsius us-
ing the subsequent conversion formula C = (F - 32)/1.8 And display the values
in a tabular form. [8+8]
2. (a) What is an array? Why arrays are easier to use compared to a bunch of related
variables?
(b) Write a program for transposition of a matrix using arraycopy command.
[6+10]
3. Create a base class with an abstract print( ) method that is overridden in a derived
class. The overridden version of the method prints the value of an int variable



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Jawaharlal Nehru Technological University Kakinada 2008 B.Tech Information Technology OOPS THROUGH JAVA - Question Paper