1. Rectangle Class
Design a class Rectangle
Data Members:
- length
- breadth
Member Functions:
- setDimension()
- area()
- perimeter()
2. Worker Class
Design a class Worker
Data Members:
- wages
- working_days
Member Functions:
- setData()
- payment()
3. Box Class
Design a class Box
Data Members:
- length
- breadth
- height
Member Functions:
- setDimension()
- volume()
4. Student Class
Design a class Student
Data Members:
- roll_number
- name
Member Functions:
- setData()
- getData()
5. Account Class
Design a class Account
Data Members:
- balance
Member Functions:
- deposit(amount)
- withdraw(amount)
- showBalance()
6. Set Class
Design a class Set that stores three numbers
Member Functions:
- SUM()
- MEAN()
- MAX()
- MIN()
7. Rectangle Class (Method Overloading – Java / C++)
Design a class Rectangle
Data Members:
- length
- breadth
Member Functions:
- setDimension(int side)
- setDimension(int length, int breadth)
- area()
- perimeter()
8. Box Class (Constructors – Java / C++)
Design a class Box
Data Members:
- length
- breadth
- height
Constructors:
- Box(int side)
- Box(int length, int breadth)
- Box(int length, int breadth, int height)
Member Function:
- volume()
9. Account Class (Static Data Member)
Design a class Account
Data Members:
- balance
- interest_rate (static, default value = 10.25)
Member Function:
- interest(no_of_years)
10. Student Class (Auto Roll Number)
Design a class Student
Data Members:
- roll_number (auto-generated)
- name
Member Functions:
- getData()
Additional Requirement:
- Keep track of the total number of students using a static variable.
11. Student Objects Using Array
Design a class Student
Data Members:
- roll_number
- name
Member Functions:
- getData()
- showData()
Task:
- Create an array of 5 Student objects and display their details.
12. Student Class with College
Create an array of Student objects
Data Members:
- roll_no
- name
- college
Member Functions:
- readData()
- showData()
13. Student & ClassRoom
Design:
- Student class
- ClassRoom class
Task:
- Add a list of students to ClassRoom
- Display the student list
14. Account & Bank
Design:
- Account class
- Bank class
Task:
- Add a list of accounts to Bank
- Display account details
15. Java Packages
Create two packages:
- MyCircle
- MyRectangle
Data Members:
- radius (Circle)
- length, breadth (Rectangle)
Member Functions:
- area()
- circumference()
- perimeter()
16. RBI Class (Java Only)
Design a class RBI
Data Member:
- balance
Member Functions:
- RBI() (constructor)
- deposit(int amount)
- withdraw(int amount)
- showBalance()
задвижка 30с41нж ду50 задвижки стальные фланцевые 30с41нж
фильмы онлайн бесплатно смотреть детективные сериалы онлайн
the best adult generator pornjourney.app create erotic videos, images, and virtual characters. flexible settings, high quality, instant results, and easy operation right in your browser. the best features for porn generation.
база сервис рассылок сервис рассылки по email
Hello lads!
I came across a 153 helpful page that I think you should browse.
This resource is packed with a lot of useful information that you might find valuable.
It has everything you could possibly need, so be sure to give it a visit!
https://www.six9ja.com/all-you-need-to-know-about-psychology/
And don’t neglect, folks, — a person at all times can within this piece find answers to the most complicated questions. Our team tried to explain all of the content in an most understandable method.
Hello .!
I came across a 153 very cool site that I think you should check out.
This site is packed with a lot of useful information that you might find helpful.
It has everything you could possibly need, so be sure to give it a visit!
https://writeminer.com/a-comprehensive-guide-about-best-free-online-gaming-for-pc/
Furthermore don’t overlook, everyone, that you at all times may in the piece find answers to the most confusing queries. The authors made an effort to present the complete information in an very accessible manner.
inscription melbet melbet apk
inscription 1win 1win telecharger
купить квартиру цена жк светский лес официальный сайт
Нужен проектор? интернет-магазин проекторов большой выбор моделей для дома, офиса и бизнеса. Проекторы для кино, презентаций и обучения, официальная гарантия, консультации специалистов, гарантия качества и удобные условия покупки.
Hello friends!
I came across a 153 useful tool that I think you should browse.
This resource is packed with a lot of useful information that you might find helpful.
It has everything you could possibly need, so be sure to give it a visit!
https://betterthisworld.com/health/how-to-stay-on-top-of-your-mental-health/
Additionally do not neglect, everyone, which you at all times may within the article find answers to address the most the absolute confusing queries. Our team tried — explain the complete information via the most extremely easy-to-grasp way.
Hello team!
I came across a 153 fantastic resource that I think you should take a look at.
This resource is packed with a lot of useful information that you might find valuable.
It has everything you could possibly need, so be sure to give it a visit!
https://huffingtonmedia.com/best-way-to-work-online-from-anywhere/
Additionally don’t overlook, guys, that you constantly can in this particular publication discover answers to address the most most complicated inquiries. The authors made an effort to present all of the information using the most understandable manner.
химчистка сдать обувь химчистка обуви цена
Лучшее казино ап х играйте в слоты и live-казино без лишних сложностей. Простой вход, удобный интерфейс, стабильная платформа и широкий выбор игр для отдыха и развлечения.