properties of interface methods java code example Example: interface base1 void method(); interface Base