JAVA PROGRAMMING THEORY IMPORTANT QUESTIONS
UNIT 1
2 MARK
1. List any two applications of java
2. State any 3 benefits of java.
3. State any 3 benefits of oop.
4. Define finite and infinite loop statements.
5. What are the tools containin jdk to develop and run java program?
6. Write the features of java?
7. List the advantages of java?
8. How to declare an integer variable in java?
3 MARK
1. Compare Procedural Oriented and OOP.
2. Differentiate Procedural programming and Object Oriented programming
3. How the java is differ from C++.
4. How the array can be accessed in java?
5. List any three string functions and give example for each.
10 MARK
1. Explain the java development environment
2. Explain different loop constructs in java with suitable examples
3. Explain the basic concepts of OOP in detail.
4. Write a java program to read 15 numbers and find sum and average.
5. Explain Conditional statements in java with example.
6. Explain Different types of array with example.
7. Write a java program to implement array matrix addition and multiplication
UNIT 2
2 MARK
1. Compare method overloading and method overriding.
2. How to create class and objects in java?
3. State any two conditions in java program for an automatic type conversion.
4. What is Final Variable and Methods.
3 MARK
1. How method overriding can be implemented in java? Give example.
2. Differentiate between Class and interface.
3. How to create multiple inheritances in java?
4. How to accesss a class member in java? Explain with an example.
10 MARK
1. With an example explain different types of inheritance.
2. Explain final variable and methods.
3. Explain Single level and Multilevel inheritance with example.
4. Write java program to display the area of circle , triangle and rectangle using the concept
of method overloading.
5. Explain Implementing interface and extending interface with example.
6. How the multiple inheritance is achieved in Java? Explain it with the help of an example.