What will happen if class implemented WindowListner interface and provided its definition of only one method?
To handle window events, we need to implement “WindowListner” interface. “WindowListner” interface contains 7 methods We require only one i.e. windowClosing
But, We have to provide definitions of all methods to make our class a concrete class, if don’t do this we can not create its object.
0 Comments
Please add nice comments or answer ....