Week 9 Event driven programing

 0    7 cartonașe    up804653
descarcă mp3 printează joacă Testează-te
 
Întrebare English Răspuns English
what two things does an interactive GUI component need to process user input
începe să înveți
event listener to register the user action adn event handler the implement a responce
describe an interface
începe să înveți
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?
începe să înveți
true
To handle an AWT event you must implement an interface (ActionListener, WindowListener, etc.). true or flase?
începe să înveți
true
is an interface part of class hierachy?
începe să înveți
No, Unrelated classes can implement the same interface
can an interface implement methods?
începe să înveți
can an interface implement methods? în engleză
no
A class can implement many interfaces but can extend only one superclass. true or flase?
începe să înveți
true

Trebuie să te autentifici pentru a posta un comentariu.