Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Demo #36

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The CLasses</title>
</head>
<body>
<h1 style="text-align: center;">Polymorphism</h1>
<p>"Polymorphism in Python refers to the ability to define methods in the child class that have the same name as the methods in the parent class. This allows different classes to be treated as instances of the same class through a common interface. In Python, polymorphism is achieved through method overloading and method overriding. Method overloading allows multiple methods with the same name but different signatures, while method overriding enables a child class to provide a specific implementation of a method that is already provided by its parent class.
This concept is fundamental to object-oriented programming and allows for more flexible and modular code design"</p>
</body>
</html>
2 changes: 1 addition & 1 deletion login.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<title>Document</title>
</head>
<body>

<h1>Demo00001</h1>
</body>
</html>