i read adapter classes everything is write but i am confuse about Listener Interfaces and Adapter classes concept priblem is that when java create adapter classes it implements corresponding interface and privide defination with empty bodies of all methods that are present in interface this is declaration
public class WindowAdapter implements WindowListener
this is built in declaration of WindowAdapter.Why not java create directly adapter classes without implementing interface same like this
public class WindowAdapter
after this no need to create interfaces and no need to import interfaces my english is very poor plz try to understand my question
Regards:
Moaz Amin