OOPs Assignment 1 questions
OOPs Assignment 1 questions
23
Subject Code/Name : CS3391 / Object Oriented Programming
Topic : OOPs concepts & Control statements Max. Marks: 40
Assignment I Questions
1. Explain the features of Object oriented Programming.
2. Differentiate Procedure oriented programming and Object oriented programming.
3. Write a Java program to sort an array of ‘n’ numbers in ascending order. Use classes and
member functions.
4. Write a Java program to generate the Fibonacci series.
5. Write a Java program to list out the first 25 prime numbers.
6. Write a Java program to fine the maximum number of given array.
7. Write a Java program to construct student mark lost for three subjects. Write the program to
display name, roll no , marks, avg and total. Use class and objects.
8. Write a Java program to find the area of the square , rectangle ,circle using function overloading.
9. Explain about inheritance and its types of inheritance.
10. Write a Java program to implement nested packages.