Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagejava
titleRunable
public class SuperfastRunableSuperfastRunnable implements RunableRunnable {
	
	// Required to implement
	 public void run() {
		 // Do something
	 }
}
public static void main(String[] args) {
	
	// code..
	
	SuperfastRunableSuperfastRunnable sfr = new SuperfastRunableSuperfastRunnable();
	
	// code..
}

 

 

Code Block
languagejava
titleAnonymous Runable
public static void main(String[] args) {
	 	
	// code..	

	RunableRunnable r = new RunableRunnable() {
		
		// Required to implement
		public void run() {
			// Do something
		}
	};
 
	// code..
} 

 

...