Leandro Coutinho wrote:But the run() method in the Thread class that should be executed, right?
He called the super constructor passing an implementation of Runnable as parameter, that just prints "Doing some useful, long-running unit of work."
So I don't understand how the run() method in the LoggingThread class is called. Please help me.
Leandro Coutinho wrote:
I would like to know:
- What does "more specialized version" mean? Does it mean override a method?
is just an elaborate (if exact) way of saying that the single line of code:the compiler is allowed to update the shared variable to point to a partially constructed object before A has finished performing the initialization
how would i retrieve the role and user information from a database, rather than using and xml file?