CSE 403-Java Programming
Part-B Questions
MODULE III
1. Define Interfaces? Explain implementation and accessing
it.
2. Illustrate about Final Class, Final Method & Final
variable with code snippet.
3. Illustrate on method with variable arguments in Java.
4. Write a Java program to demonstrate method
overriding.
MODULE IV
5. Multi-threading Vs Multiprocessing.
6. What is exception? Explain about types of exception.
7. Define Exception handling. Write a Java program for
handling
ArithmeticException.
8. Explain thread lifecycle with figure in Java.
9. Explain two approaches to create thread in Java with
syntax.
MODULE V
10. Explain about Applet Event handling?
11. Write an applet program to display “Welcome to
Alliance University”.
12. Explain Java collec tions with code snippet for any one
collection class or
interface.
13. Write a java code to display a rectangle using applet.
14. Create 3 packages in that sample1 having the method
void meth1(), package2 having the method void meth2(), and
invocate both the method in package 3
Using Java code.
15. Define packages. List built-in packages.
PART-C Questions
MODULE III
1. Develop a message abstra ct class which contains
showMeth() abstract method. Write a different sub-class like
subClass1, subClass2 and subClass3 classes for to
implementing the showMeth() method.
2. What do you mean by Inheritance? Explain the types of
Inheritances supported in JAVA usi ng sample code for any
two types of Inheritance.
3. Define Interface. Write a Java program to demonstrate
implementation of multiple inheritance using interfaces for
the given below scenario:
4. Define the following terms:
ii) super ii) this iii) finally iv) final v) static
5. Write a Java program to demonstrate the method
overriding
MODULE IV
6. What do you mean by Multi-threading in JAVA? Explain
with static synchronization method with appropriate code.
7. Discuss the concepts of try, catch, throw, throws and finally
exception handling using sample code
8. Write a Java program to demonstrate how various
exceptions are caught using try and catch keywords.
9. Define threads and list advantages of multithreading in
Java. Write an example Java program to illustrate thread
priority.
MODULE V
10. How do you create and use a package in java? Give a
sample example of the same.
11. Explain about the Applet and life cycle model and design
gfan applet window using 3 Buttons,
2 text filed using Frame.
12. Define applets with lifecycle and figure for the same.
Write a Java program using applet that draws rectangle, oval,
arc and fill them.
***********ALL THE BEST***********