https://github.com/maran-fsd-developer/day-6-task
Day 6 Task
https://github.com/maran-fsd-developer/day-6-task
github html5 javascript
Last synced: about 2 months ago
JSON representation
Day 6 Task
- Host: GitHub
- URL: https://github.com/maran-fsd-developer/day-6-task
- Owner: maran-fsd-developer
- Created: 2024-08-19T14:03:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T14:44:01.000Z (almost 2 years ago)
- Last Synced: 2025-05-21T14:22:14.547Z (about 1 year ago)
- Topics: github, html5, javascript
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Day 6 : OOPS TASK
# Movie Class
This task includes a JavaScript class `Movie` that represents a film with properties for its title, studio, and rating. The class provides functionality to create instances of movies, set default ratings, and filter movies by their rating.
## Class Definition
The `Movie` class is designed to encapsulate the properties and behaviors of a movie.
# Circle Class
This task includes a JavaScript class `Circle` that represents a circle with properties for radius and color. The class provides methods to calculate the area and circumference of the circle, as well as string representation.
## Class Definition
The `Circle` class is designed to encapsulate the properties and behaviors of a circle.
# Person Class
This task includes a JavaScript class `Person` that represents an individual's basic personal information, including their name, age, marital status, gender, email, and educational degree.
## Class Definition
The `Person` class is designed to store and manage personal details.
# Uberprice Class
This task includes a simple JavaScript class `Uberprice` that calculates the fare for an Uber ride based on the distance traveled in kilometers and the price per kilometer.
## Class Definition
The `Uberprice` class is designed to handle the calculation of Uber price using two main properties: