Third Semester B.E.
Degree
OOP’S With Java
Tutorial questions
1. Explain Recursion with an example.
2. Discuss Java’s control statements with syntax and give example for each.
3. Explain the three principles of Object-Oriented Programming with suitable
examples
4. Develop a JAVA program to add TWO matrices of suitable order N (The value of N
should be read from command line arguments).
5. What is method overloading? Write a Java program that demonstrates method
overloading using different parameter lists
6. Write a Java program to illustrate the use of constructors and the “This”
keyword.
7. Write a program that uses both type conversion and type casting and
Explain .
8. Explain class fundamentals and demonstrate how to declare and use objects in
Java with an example.
9. What are constructors? Explain two types of constructors with an example
program
10. Write a Java program to sort the elements using a for loop.