Since default is used in the interface as a modifier, and the method body is empty (with curly braces), it will not prompt the familiar red underline to quickly implement the abstract method in the interface.
If you don’t want to manually enter, or copy and paste and then modify the modifier, you can
-
Right click to find Generate or directly alt+insert
-
Choose Override Methods
3. Select two in the picture
4. Click OK to complete the operation