0% found this document useful (0 votes)
3 views1 page

Java Programming Re Internal Question Paper

This document outlines the structure and requirements for the RE-INTERNAL EXAMINATION for the 4th SEMESTER BCA students at the Institute of Innovation in Technology & Management. It includes details such as the exam duration, maximum marks, and a list of questions covering various Java programming concepts. Students are required to attempt four questions, including a compulsory question, with topics ranging from Java features to exception handling.

Uploaded by

priya tripathi
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)
3 views1 page

Java Programming Re Internal Question Paper

This document outlines the structure and requirements for the RE-INTERNAL EXAMINATION for the 4th SEMESTER BCA students at the Institute of Innovation in Technology & Management. It includes details such as the exam duration, maximum marks, and a list of questions covering various Java programming concepts. Students are required to attempt four questions, including a compulsory question, with topics ranging from Java features to exception handling.

Uploaded by

priya tripathi
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

(Please write your Exam Roll No.) Exam Roll No. ………………………….

Institute of Innovation in Technology & Management


RE-INTERNAL EXAMINATION
4th SEMESTER [BCA] May-2024
Paper Code: BCA 202 Subject: Java Programming

Time: 2 hours only Max. Marks: 40

Note: Attempt any four questions including [Link]. 1 which is compulsory. All questions carry equal marks.

Q.1. Explain the following: (2 X 5 =10)


a. List and explain any 4 features of Java.
b. Discuss the significance of access modifiers in Java
c. Differentiate between interface and abstract class in Java.
d. Define Package.
e. What is the significance of the ‘super’ keyword in Java?
Q.2. a. Explain and differentiate the concept of method overloading and method overriding. (5)
b. Define Variables. Explain the scope and lifetime of variables with example. (5)

Q.3. a. What are interfaces? What are their benefits? Give the general form of a class that implements
interfaces. (5)
b. Write a Java class called as SavingAccount with members as AccountNo and Balance. Provide
depositAmount() and withdrawAmount() functions. If user tries to withdraw more money than his
balance, then throw a User Defined Exception. (5)

Q.4. a. Explain the lifecycle of Thread. Write a Program to create Thread. (5)
b. Describe how interfaces in Java enable abstraction and polymorphism, with examples of their
implementation and use. (5)

Q.5. a. Write a program to illustrate checked exception where FileNotFound Exception occurred. (5)
b. Describe the differences between the throw and throws keywords in Java, including their
usage contexts. (5)

You might also like