Added sam test on java8 interface with default method

This commit is contained in:
Michael Bogdanov
2015-04-18 12:11:46 +03:00
parent 5c18cfebd1
commit 115c4b78c0
5 changed files with 27 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
interface Test {
String call();
default String test() {
return "K";
}
static String testStatic() {
return "K";
}
}