[go: up one dir, main page]

0% found this document useful (0 votes)
37 views2 pages

BCS306A OOC Assignement3

Uploaded by

shreyase991
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)
37 views2 pages

BCS306A OOC Assignement3

Uploaded by

shreyase991
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

Department of Computer Science &Engineering

Assignment III
Course Title: Object Oriented Programming with
Course Code: BCS306A Maximum Marks: 10
JAVA
Semester: III Section: B Due Date: 10/12/2024

Course Coordinator: Dr.Mahantesh Mathapati, Professor,CSE Dept.,AIEMS


COURSE OUTCOMES:
CO-3: Apply the concepts of inheritance and interfaces in solving real world problems.
CO-4: Use the concept of packages and exception handling in solving complex problem
CO-5: Apply concepts of multithreading, autoboxing and enumerations in program development
Sl. CO
Questions
No
Module 3
1 What is abstract class and abstract method? Explain with an example.
CO3
Define interface.Explain how an interface is used to achieve multiple Inheritances in Java. CO3
2

Module-4
Explain the concept of importing packages in Java and provide an example demonstrating the usage CO4
3
of the import statement
Explain the exception handling mechanism in java Develop a java program to handle the exceptions CO4
4
using multiple catch blocks/clauses.
Define exception and exception handling.
5 Explain the following terms with example:
i) try ii) catch iii)throw iv) throws v) finally
How do you create your own exception class? Explain with a program CO4
6

Demonstrate the working of a nested try block with an example. CO4

Write a program that contains one method that will throw an IllegalAccessException and use proper
7
exception handles so that the exception should be printed.
Module-5

What do you mean by multithreading? Explain the different ways of creating threads. CO5
8

Explain with an example how inter-thread communication is implemented in JAVA.


CO5
9

What is the need of synchronization? Explain with an example how synchronization is implemented in JAVA
CO5
10
With example,explain the following: CO5
11 i) Enumerations ii) Type Wrappers
Explain auto-boxing/unboxing that occurs in expressions and operators.
CO5
12

You might also like