Monday, January 16, 2017

Learn Java Tutorial for Beginners, Part 23: Interfaces



At the end of this practice with interfaces, John explains how an interface is like a bank. It has expected transactions (methods). When you open a bank account you expect the bank to have certain functions such as deposit, withdrawl, cashing checks, etc. He uses this example to try to make interfaces more clear. Interfaces only contain methods which carry over to the classes.

No comments:

Post a Comment