Java Important Questions for Mid1
1) (a)Explain briefly about Object Oriented Programming concepts?
(b) Explain about Java Buzz words or Features and History of java
2) (a) What is a Constructor? Explain the different types of constructors with an example.
(b) Explain method overloading and constructor overloading with example programs?
3) (a) Explain about various access specifiers in java.
(b) Explain this keyword with example program.
4) (a) Explain briefly about type conversion and type casting with example program?
(b) Write a java program for finding the factorial of a given number using recursion?
5) (a) What is inheritance? Explain different types of inheritances with example program?
(b) Explain about super keyword with example program?
6) (a) Explain about dynamic binding (run time polymorphism) with examples.
(b) What is an Interface? Explain how to extend one interface with another.
7) (a) What is a package? Explain User defined package with program?
(b) Differentiate between Interface and Abstract class?
8) (a)Explain Method overriding with example program?
(b) Explain final keyword giving an example.
9) (a) What is an Exception? Explain different types of Exceptions?
(b) Explain about try and catch with example program?