Firstranker's choice
Code: 15A10804
--- Content provided by FirstRanker.com ---
B.Tech IV Year II Semester (R15) Advanced Supplementary Examinations July 2019
JAVA PROGRAMMING
(Electronics & Instrumentation Engineering)
Time: 3 hours
Max. Marks: 70
--- Content provided by FirstRanker.com ---
PART - A
(Compulsory Question)
Answer the following: (10 X 02 = 20 Marks)
- (a) State the principles of OOP.
- (b) How is a Java program compiled?
- (c) What is the use of
net
keyword? - (d) How are multiple inheritances achieved in Java?
- (e) List the different exceptions that arise during runtime?
- (f) Write a program to read a file using character stream.
- (g) State the difference between multiprocessing & multithreading.
- (h) How do you manipulate URL in Java?
- (i) What are the advantages of swing over awt?
- (j) Give the syntax of
draw image ()
method.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B
(Answer all five units, 5 X 10 = 50 Marks)
--- Content provided by FirstRanker.com ---
UNIT - I
- Write a Java program to add two matrices.
OR
- Explain string and string buffer classes in Java.
UNIT - II
--- Content provided by FirstRanker.com ---
- Write a program to arrange numbers in ascending and descending order with an interface.
OR
- Explain the significance of abstract class and methods.
UNIT - III
- Write a program to input name and age of a person and throw a user-defined exception if the entered age is negative.
OR
--- Content provided by FirstRanker.com ---
- Describe various stream classes.
UNIT - IV
- Write a program defining two threads, one for displaying the multiplication table of five and the other for the table of four.
OR
- Describe the life cycle of an applet.
--- Content provided by FirstRanker.com ---
UNIT - V
- Write a Java swing program to implement border method.
OR
- How do you create a modeless dialog box in Java?
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTU Kakinada B-Tech 3-1 last 10 year question papers 2010 -2020 -All regulation- All branches- 3rd Year 1st Sem (JNTUK)
--- Content provided by FirstRanker.com ---