Oop With Java Imp - Question - F
Oop With Java Imp - Question - F
IMPORTANT QUESTION
22. Explain the difference between abstract class and final class.
23. What is package? Write steps to create a package and give example of it.
24. Explain different access controls in Java.
25. Describe: Interface. Write a java program using interface to demonstrate multiple
inheritance.
26. What is an Exception? How it can be handled in java? Write a program that demonstrate
the use of exception handling statement.
27. Explain User Defined Exception with example.
28. Write a Java program that shows Arithmetic exception and Array index out of bound
exception.
29. What is Thread? Explain the Life Cycle of a Thread.
30. Write short note: Synchronization
31. Write a short note on Inter Process Communication.
32. Explain isAlive ( ) and Join( ) methods of thread.
33. Write a Java program that executes two threads. One thread will print the even numbers
and another thread print odd numbers between 1 to 50.
34. Explain basics of Stream class and classify it.
35. Write a Java program to create a text file and to perform read/write operation on it.
36. Explain java I/O process.