понедельник, 27 декабря 2010 г.

What are the differences between main(), run() and init() in Java?

main() executes first of all when program starts
init() executes first of all when applet starts
run() executes first of all when thread starts

Комментариев нет:

Отправить комментарий