I am a C++ programmer who is attempting to learn Java with the ultimate aim of sitting the Oracle certification. I have (hopefully) a very simply question.
What is the best method for implementing listeners? Should I be putting them into anonymous inner classes or into a fully fledged private inner class? I have googled this question but my efforts haven't yielded a definite answer.