- Design a class Rectangle
data membersmember functions/methodslength
breadthsetDimension()
area()
perimeter() - Design a class Worker
data membersmember function / methodwages
wdayssetData()
payment() - Design a class Box
data membersmember functions / methodslength
breadth
heightsetDimension()
volume() - Design a class Rectangle (only for Java / C++)
data membersmember functions / methodslength
breadthIt must overload setDimension() method twice:setDimension()
area()
perimeter()- by passing 1 argument
- by passing 2 arguments
- Design a class Box (only for Java / C++)
data membersmember functions / methodslength
breadth
heightIt must contain 3 constructorsvolume()- 1 parameter
- 2 parameter
- 3 paramter
- Design a class Account
data membersmember functions / methodsbalancedeposit(amt)
withdraw(amt)
showBalance() - Design a class Set
data membersmember functions / methods3 numbersSUM()
MEAN()
MAX()
MIN() - Design a class Student
data membersmember functions / methodsroll_number
namesetData()
getData() - Design a class Account
data membersinterest_rate must be shared by all objects (static modifier) and its default value 10.25balance
interest_rateinterest(no_of_years) - Design a class Student
data membersmember functions / methodsroll_number
namesetData()
getData() - Design a class Accountmember functions / methodsaccount_number
balance
interest_rateinterest(no_of_years) - Design a class Student
data membersmember function / methodsroll_number
nameroll_number must be automatically generated.It also keep track of total number of Students.getData() - Design a package MyCircle and MyRectangle (Only for Java)member functions / methods:radius
length
breadtharea()
circumference()
perimeter() - Design a class Student
data membersmember functions / methodsroll_number
nameCreate 5 objects of Student using ArraygetData()
showData() - Design a class Student and List ClassRoom
add list of Students in ClassRoom
display List - Design a class Account and List Bank
add list of Account in Bank
display List - Create array of Student Objects
data membersmember functions / methodsroll_no
name
collegereadData()
showData() - Create a class RBI (Only for Java)
data membersmember functionsbalanceRBI()
deposit(int amt)
withdraw(int amt)
showBalance()