Java9 - How to declare Private Static methods in interface | java9 new features
February 28, 2022 · 3 min read
In this blog post, Learn the java9 interface private methods and static methods with examples. Java released many versions. This post is about how the interface is evolved from public modifier to private modifier and abstract methods only to non-abstract methods. java7 Interface declaration version examples The interface has only constants and abstract methods before the java 7 version. Examples are public static final variables i.e constants public abstract methods - No implementation with method header....