changes.mady.by.user Unknown User (krilang)
Saved on 20.09.2013
...
public class SuperfastRunable implements Runable { // Forced to implement public void run() { // Do something } .. .. } public static void main(String[] args) { // code.. SuperfastRunable sfr = new SuperfastRunable(); // code.. }
public static void main(String[] args) { // code.. Runable r = new Runable() { public void run() { // Do something } }; // code.. }