In the java awt event package there is an actionlistener


Question: In the java awt event package, there is an ActionListener interface that many classes implement when they want to be made aware of events that occur, such as mouse clicks in buttons. Why is ActionListener an interface instead of an abstract class? How would making ActionListener an abstract class decrease the usability of the class?

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: In the java awt event package there is an actionlistener
Reference No:- TGS02578130

Expected delivery within 24 Hours