Week 9 Event driven programing

 0    7 fiche    up804653
Télécharger mP3 Imprimer jouer consultez
 
question English réponse English
what two things does an interactive GUI component need to process user input
commencer à apprendre
event listener to register the user action adn event handler the implement a responce
describe an interface
commencer à apprendre
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?
commencer à apprendre
true
To handle an AWT event you must implement an interface (ActionListener, WindowListener, etc.). true or flase?
commencer à apprendre
true
is an interface part of class hierachy?
commencer à apprendre
No, Unrelated classes can implement the same interface
can an interface implement methods?
commencer à apprendre
can an interface implement methods? Anglais
no
A class can implement many interfaces but can extend only one superclass. true or flase?
commencer à apprendre
true

Vous devez vous connecter pour poster un commentaire.