The document discusses important Java concepts and questions for an exam, including object-oriented programming, constructors, inheritance, interfaces, packages, exceptions, and other core Java topics. It provides definitions and examples of object-oriented programming concepts, constructors and their types, inheritance and super keywords, interfaces and extending interfaces, abstract classes versus interfaces, method overriding and final keywords, different exception types, and try/catch exception handling.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
29 views1 page
Java Important Questions For Mid1
The document discusses important Java concepts and questions for an exam, including object-oriented programming, constructors, inheritance, interfaces, packages, exceptions, and other core Java topics. It provides definitions and examples of object-oriented programming concepts, constructors and their types, inheritance and super keywords, interfaces and extending interfaces, abstract classes versus interfaces, method overriding and final keywords, different exception types, and try/catch exception handling.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
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?