Skip to content
Open
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
1 change: 1 addition & 0 deletions src/31_InterfaceExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public void eat() {
* * You cannot create object of interface. They are just a blueprint of a class.
* * Use implements keyword
* * They can only contain abstract methods.
* * Java 8 onwards we can have methods with body within interface (i.e. we can have static as well as default methods).
*
* 1. For Methods
* * They are public and abstract
Expand Down