Java for Testers #28 – What is Interface in Java | with Example In this Java for Testers tutorial, we will learn what is an interface in Java with example. Interfaces are used to achieve abstraction in Java.