|
|
От: |
Kswapd
|
|
| Дата: | 20.01.19 19:05 | ||
| Оценка: | +1 | ||
_NN>interface TestInterface
_NN>{
_NN> // abstract method
_NN> public void square(int a);
_NN> // default method
_NN> default void show()
_NN> {
_NN> System.out.println("Default Method Executed");
_NN> }
_NN>}
_NN>