Using Interface in a Class for Function

The line simply sets txtListerner to the given StringListener. You migth be confused because you’ve written Listener with a capital L.

Leave a Comment