Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make interface test cases, more obvious

  • Loading branch information...
commit 19e4acf49a43c25c9fd678aa3d6728530d66a830 1 parent 49b5b6c
@mebigfatguy mebigfatguy authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 samples/test/interfaces/TestInterfaces.java
View
10 samples/test/interfaces/TestInterfaces.java
@@ -2,11 +2,11 @@
public class TestInterfaces {
- public void callThruInterface(W w) {
- w.a();
- w.b();
- w.c();
- w.plain();
+ public void callThruInterface(C c) {
+ c.a();
+ c.b();
+ c.c();
+ ((W) c).plain();
}
static class W implements C {
Please sign in to comment.
Something went wrong with that request. Please try again.