Javatpoint Logo

"default" or "static" methods in "abstract class" and "interfaces"

By: bahuba*** On: Sat Feb 11 00:19:43 IST 2017     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
The "abstract" class can have "default" or "static" methods.
The "interface" can also have "default" or "static" methods.

However the link - http://www.javatpoint.com/difference-between-abstract-class-and-interface shows in the table "Difference between abstract class and interface" as :

4) Abstract class can have static methods, main method and constructor. Interface can't have static methods, main method or constructor.

Again the http://www.javatpoint.com/interface-in-java specifies that interface can have default methods and static methods.

So it seems to be ambiguity in the details provided in the tutorial.

Please can you correct it or else correct me if my understanding is wrong.
Up0Down