0% found this document useful (0 votes)
6 views

JAVA (5th) Dec2017

Uploaded by

2102176.it.cec
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

JAVA (5th) Dec2017

Uploaded by

2102176.it.cec
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll No.

Total No. of Questions: 09 Total No. of Pages: 02


B. Tech. (IT) (Sem. 5)
PROGRAMMING IN JAVA
Subject Code: BTIT-502
Paper ID: A2123
Time: 3 Hrs. Max. Marks: 60

INSTRUCTIONS TO CANDIDATES:
1. Section A is COMPULSORY consisting of TEN Questions carrying TWO marks each.
2. Section B contains FIVE questions carrying FIVE marks each and students have to
attempt any FOUR questions.
3. Section C contains THREE questions carrying TEN marks each and students have to
attempt any TWO questions.

SECTION A

o m
.r c
1. a. List four important features of Java language.
b. What is JVM?
c.
d.
Difference between application and applet

e
What is dynamic method dispatch?

p o m
.r c
e. Define garbage collection
f.
a
What is use of final keyword? '

p
g.
h.

b r
Define Exception
Define Server Socket

p e
a
i. What is difference between interface and abstract class

rp
j. What is the use of "this" keyword?

2.
SECTION B
b
Explain what makes Java as platform independent language?

3. Explain Multithreading. How Java implements its Thread model?

4. Write a program to implement the Fibonacci series using for loop control structure.

5. What is string handling? Write a program to compare the two strings in java

| M70595 Page 1 of 2
6. What is inheritance?.Why java does not support multiple inheritance ?

SECTION C

7. Explain different types of operators used in java programming. Write a simple program to
demonstrate operator precedence in java.

8. What is exception handling? How multiple exceptions are caught in a single


program? WAP to demonstrate the use of custom exception.

9. Write a short note on


a. Throw Vs Throws
b. Thread Synchronization
c. Recursion
d. JDBC

o m
.r c m
p e o
p a .r c
b r p e
a
b rp

| M70595 Page 2 of 2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy