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

Code No: R05220402 Set No. 1
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 that will learn an unspecified number of integers and will de-
termine how many positive and negative values have been learn. Your program
ends when the input is 0. [8+8]
2. (a) What is a constructor? elaborate its special properties?
(b) How do we invoke a constructor?
(c) elaborate objects? How are they created from a class? [6+4+6]
3. (a) discuss about final classes,final methods and final variables?
(b) discuss about the abstract class with example program? [8+8]
4. Prove that the fields in an interface are implicitly static and final. [16]
5. (a) Why thread is called light weight task and process heavy weight task.
(b) elaborate the various things shared by various threads of a single process.
elaborate the benefits of sharing?
(c) Is multithreading suitable for all kinds of applications. If yes discuss any such
application. If no, discuss any application for which multithreading is not
desired.
[4+4+8]
6. elaborate the methods supported by KeyListener interface and MouseListener in-
terface. discuss every of them with examples. [8+8]
7. discuss the functionality of JComponent with example. Differentiate JComponent
and JPanel. [8+8]
8. (a) elaborate accessor methods?
(b) How will you create strings and stringbuffers? How will you replace them?
[8+8]
? ? ? ? ?
1 of 1
Code No: R05220402 Set No. 2
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 the purpose of using a method? How do you declare a method? How



( 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