This commit is contained in:
Dmitry Jemerov
2009-09-11 18:19:26 +04:00
parent 76d6570d33
commit d75bc69d5a
113 changed files with 5 additions and 0 deletions
@@ -0,0 +1,5 @@
class A implements I {
int method() {
return 0;
}
}
@@ -0,0 +1,11 @@
class Client {
I getI() { return null; };
void method() {
A a = (A) getI();
}
int anotherMethod() {
return ((A) getI()).method();
}
}
@@ -0,0 +1,3 @@
interface I {
int method();
}