Get your code here : https://github.com/rakshithvasudev/Java-Basic-Tutorials/tree/7799fec0006fba403df5b6a8a4279263a1c3f99f
What is a Java interface? You can understand how interfaces work, and how we can use them in our applications. This Java tutorial will discuss what implementing means, and introduce what an interface is.A concrete class must we have to add all of the methods from the implemented interface. You need interfaces and abstract classes because Java doesn't allow you to inherit from more than one other class. You would use an interface when you want to force the user of the interface to create every method in the interface