Code 1:
Code:new Runnable(){ public void run() { assert(false); } }.run();
Code 2:
Apart from the obvious differences, what are their differences and what is the advantage or disadvantage of each?Code:new Thread(new Runnable(){ public void run() { assert(false); } }).start();
Need Advice.![]()




Reply With Quote