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

BCA - 5th Sem - BCA - 16 - 503 - Java Programming - December 2023

Java

Uploaded by

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

BCA - 5th Sem - BCA - 16 - 503 - Java Programming - December 2023

Java

Uploaded by

itsdheeraj0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
(i) _ Printed Pages : 2 ROTI NO, ..sssessessesssseeseeseeneessene (ii) Questions 79 Sub. Code: 019 [ 4/9 Exam. Code: L010 13] 1 Bachelor of Computer Applications 5" Semester (2123) JAVA PROGRAMMING Paper : BCA-16-503 Time Allowed : Three Hours] [Maximum Marks : 65 Note :— Attempt any ONE question each from Units I-IV. Unit V is compulsory. UNIT-I 1. | What are various types of Inheritance in Java ? Write a program in Java to illustrate the concept of Multilevel Inheritance. 13 2. (a) What is method overloading ? Write a program in Java to illustrate the concept of method overloading. 9 (b) Explain the concept of dynamic method dispatch and Java virtual machine. 4 UNIT-II 3. (a) Whatis Interface ? How multiple inheritances can be achieved using Interface ? Explain with suitable example. 9 (b) Explain any two functions of String class. 4 0949/PB-12070 1 [Turn over 4. -(a) Whatare the types of packages ? Discuss the access protection in package with a program. 9 (b) — Write short note on two-dimensional Arrays and Streams. 4 UNIT-II 5. (a) Whatare the different techniques for creating threads ? Which one is better ? 9 (b) What are the features of Applets ? 4 6. How Exceptions can be handled in Java ? Using an example explain how try-catch block handles exceptions. 13 UNIT-IV 7. Discuss the various layout managers supported by Java. What is the benefit of using them ? 13 8. Broadly explain the concept of JDBC with suitable examples. 13 UNIT-V 9. (a) Why is main method declared static ? 2 (b) When should one make a class final ? 2 (c) How do applets differ from application programs ? 2 (d) Whats the difference between finally and final ? 2 (e) What is the purpose of super keyword ? 2 (f) | What is the functionality of static class ? 3 0949/PB-12070 2 4500

You might also like