Skip to content

Commit

Permalink
Update Rule “interfaces-abstract-classes/rule”
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinator444 committed Feb 14, 2024
1 parent e292624 commit 1ba59fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/interfaces-abstract-classes/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Interfaces are contracts that dictate what a class can do without specifying how

### What is an abstract class?

An abstract class is a class that cannot be instantiated and serves as a blueprint for creating derived classes. It's similar to an interface but allows you to provide fully implemented methods, not just method declarations.​
An abstract class is a class that cannot be instantiated and serves as a blueprint for creating derived classes. It's similar to an interface but allows you to provide fully implemented methods, not just method declarations.​ A class that uses an abstract class is known as a concrete class.

Imagine various payment methods, such as bank transfer and credit card payment. ​

Expand Down

0 comments on commit 1ba59fe

Please sign in to comment.