How do I create and use a UInterface?

For god’s sake I’ve been looking everywhere but every answer I find is either confusing, outdated, or doesn’t compile.
Someone please tell me how can I create a UInterface class, override a function, and execute it in a player controller.
The wiki page explains nothing clearly so I’ve had to resort to the answerhub. Thanks for reading

Try this: