Week 9 Event driven programing

 0    7 flashcards    up804653
download mp3 print play test yourself
 
Question English Answer English
what two things does an interactive GUI component need to process user input
start learning
event listener to register the user action adn event handler the implement a responce
describe an interface
start learning
An interface is like a class, but it can contain only abstract methods and constant fields (no class variables).
The class that implements an interface should override all interface methods. true or false?
start learning
true
To handle an AWT event you must implement an interface (ActionListener, WindowListener, etc.). true or flase?
start learning
true
is an interface part of class hierachy?
start learning
No, Unrelated classes can implement the same interface
can an interface implement methods?
start learning
can an interface implement methods? in English
no
A class can implement many interfaces but can extend only one superclass. true or flase?
start learning
true

You must sign in to write a comment