Programming AOOP ASSIGNMENT 1
Programming AOOP ASSIGNMENT 1
Date: 07/02/25
Subject: ADVANCED OOP Subject Code: 4340701
Q-1 Write a program in java to find largest of three number, input numbers
from user. (keyboard input)
Q-2 Write a program in java to find largest of Two number, input numbers
from user using command line arguments
Q-3 Write a program in java to find Reverse a number and also find sum of
digits of that number, input number from user.(keyboard input)
Q-4 Write java program to find Fibonacci series up to 10 terms.
Q-5 Write a Java Program to print alphabets from small a to z.
Q-6 Write a program in Java to multiply two 3*3 matrices.
Q-7 Write a program in Java to generate first n prime numbers.
Q-8 Write a program in Java which has a Class Book having two instance
variables price and name. Create 3 objects of Book class in main
method and create a method to display Book’s name and book’s price.
Q-9 Write a program in Java which has a class Laptop having two instance
variables price and Brand. Create 4 types objects of above class and
Initialize them using different tyes of constructor for first object use
default constructor, for second object use parameterised constructor
and for third and fourth object use copy constructor, also write method
to display every laptop brand name and price.
Q-10 Write a program in Java to demonstrate the use of “static”
keyword.
Q-11 Write a program in Java which has a class Shape having 2
overloaded methods Volume(float radius) and Volume(float length,
float width, float height). Display the Volume of Sphere and cuboid
Note : Do not Copy any program for online resource try to write yourself , take help of lab manual
program. Question will ask during submission of assignment