Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
/**
*
*/
package de.turoials;
/**
* @author Darimont
*/
public class CallbackExample {
/**
* @param args
*/
public static void main(String[] args) {
Runnable r = new Runnable() {
public void run() {
System.out.println("foo");
}
};
doSomething(r);
doSomething(new Runnable() {
public void run() {
for (int i = 0; i < 5; i++) {
System.out.println("trallala");
}
}
});
}
public static void doSomething(Runnable r) {
System.out.println("before Execution");
r.run();
System.out.println("after Execution");
}
}