You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/learnjavaonline.org/en/Abstract Classes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ For example:
14
14
15
15
### Abstract classes versus interface
16
16
17
-
Abstract classes can contain fields which are not `final` and `static` and can contain implemented mthods as well but interfaces cannot. Abstract classes with only abstract methods should be defined as interfaces.
17
+
Abstract classes can contain fields which are not `final` and `static` and can contain implemented methods as well but interfaces cannot. Abstract classes with only abstract methods should be defined as interfaces.
18
18
19
19
When an abstract class implements an interface not all interface methods need to be implemented, if the class is not abstract all the interface methods should be implemented.
0 commit comments