OOPList of Assignments Jul-Dec 2024
OOPList of Assignments Jul-Dec 2024
Lab Name:Skill based Lab Course: Object Oriented Programming with Java
Lab Code : CSL304
Class :SE (Computer Engineering ) Sem : III
91-100 A
b. Admission to a Professional Course is based on following conditions :
i. Marks in mathematics >=60
ii. Marks in Physics >=50
iii. Marks in Chemistry >=40
iv. Total marks in three subjects >=200
Accept the marks in three subjects( use BufferedReader class) and
decide if the student is eligible to get admission or no
8. Program on Strings
a. WAP to check if a string is a palindrome
b. WAP to accept a string from user and display the number of uppercase,
lowercase, special characters, blank spaces & digits present in the accepted
string.
9. Program on Method and Constructor overloading.
a. Calculate area of different shapes (Square, Rectangle, Circle) using method
overloading and multiple class concept.
b. Calculate area of different shapes (Square, Rectangle, Circle) using
constructor overloading and multiple class concept.
10. Program on Exception Handling
a. WAP to catch any three built-in exceptions
a. WAP to accept any integer from the user & if the entered number is not any
of 5 or 6 or 7 then create an exception & catch it
b. WAP to create an exception ‘PayOutOfBounds’ when the basic pay paid to
the Superintendent it is less than 25,000 and greater than 50,000.
Staff
Code
Name
Address
Teacher Officer
Subject
Class Typist Grade
Speed
Regular Ad-Hoc
Subject In-charge
Juhi Janjua