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

Core Java Concepts and Examples

The document outlines a set of questions and programming assignments for a Core Java course at Dr. K.N. Modi University, focusing on key concepts such as ISP, JVM, exception handling, thread life cycle, garbage collection, layout managers, polymorphism, Java Applets, interfaces, packages, AWT components, and string manipulation. It includes tasks like demonstrating method overriding, handling exceptions, and performing matrix multiplication. The content is designed for BCA III Year students in their fifth semester.

Uploaded by

principooja
Copyright
© All Rights Reserved
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)
5 views1 page

Core Java Concepts and Examples

The document outlines a set of questions and programming assignments for a Core Java course at Dr. K.N. Modi University, focusing on key concepts such as ISP, JVM, exception handling, thread life cycle, garbage collection, layout managers, polymorphism, Java Applets, interfaces, packages, AWT components, and string manipulation. It includes tasks like demonstrating method overriding, handling exceptions, and performing matrix multiplication. The content is designed for BCA III Year students in their fifth semester.

Uploaded by

principooja
Copyright
© All Rights Reserved
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

Dr. K.N.

Modi University, Newai (Rajasthan)


Department of Computer Science and Engineering

BCA III YEAR (V SEM)

Core Java\

1. What is ISP? Give two examples.


2. Define JVM and byte code in Java.
3. Explain interface in Java with suitable example.
4. Describe all the keywords used for Exception Handling in Java.
5. Describe various states achieved by the thread in its life cycle.
6. What is garbage collection in Java?
7. What is a layout manager?
8. Illustrate polymorphism and its type in Java. Differentiate between runtime and compile time polymorphism.
Write super class Shape with method displayArea() and sub class Rectangle. Demonstrate method overriding
with this example
9. Differentiate between Checked and unchecked exceptions in Java. WAP to demonstrate the Arithmetic
Exception handling.
10. Explain Java Applets, their life cycle, and how they are executed.
11. Explain interfaces and packages in Java. Show how packages are created and imported.
12. Describe AWT components, layout managers, and event handling with suitable examples.
13. WAP to print the multiplication of matrix.
14. What is String? WAP perform concatenation of strings.

You might also like