Challenge: can you write code that invokes foo()?
class Impossible {
public Impossible() {
throw new AssertionError("you cannot instantiate me");
}
public void foo() {
System.out.println("The impossible is possible!");
}
}
The solution is in the comments...