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

2nd Ia QB Java

This document contains 15 questions for an internal exam on Programming with Java at Jain College of Engineering in Belgaum. The questions cover topics like constructors and inheritance, abstract and final keywords, interfaces, dynamic method dispatch, packages and access modifiers, exceptions, multithreading concepts like synchronization and inter-thread communication, serialization, exception handling, producer-consumer problem, and inheritance. The questions are meant to test students' understanding of important Java concepts through examples and programs.

Uploaded by

Megha Kulkarni
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views1 page

2nd Ia QB Java

This document contains 15 questions for an internal exam on Programming with Java at Jain College of Engineering in Belgaum. The questions cover topics like constructors and inheritance, abstract and final keywords, interfaces, dynamic method dispatch, packages and access modifiers, exceptions, multithreading concepts like synchronization and inter-thread communication, serialization, exception handling, producer-consumer problem, and inheritance. The questions are meant to test students' understanding of important Java concepts through examples and programs.

Uploaded by

Megha Kulkarni
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

JAIN COLLEGE OF ENGINEERING, BELGAUM

Department of Master of Computer Applications


Third semester 2nd Internal Question Bank

Sub: Programming with Java

Subject Code: 10MCA33

1. Explain how superclass constructors are called using super. 2. Explain abstract and final keyword with example program. 3. Explain Interfaces with example program[interface declares push and pop functions of stack] 4. What is dynamic method dispatch? Demonstrate with the help of example. 5. Define package. Explain the access protection for class members. 6. What is an exception? How does java handle exception? 7. List some of the most common types of exception that might occur in java. 8. Briefly explain user generated exception using throws and throw. Show through program which uses toString function. 9. Define multithread. Distinguish between the multiprocessing and multithreading. 10. What is synchronization? Explain how interthread communication can be achieved in multithreading. 11. What is serialization? Explain any four methods defined by object output stream. 12. Mention any five byte stream classes and write their meaning. 13. Write a java program to demonstrate Exception Handling (using nested try catch and finally). 14. Write a java program using synchronized threads, which demonstrates producer consumer concept. 15. Write a java program to demonstrate Inheritance.

Faculty Name: Megha S. Kulkarni

You might also like