This question may be silly, but I accidentally checked in the Java source code that runs the method in the runnable interface using an abstract keyword. But according to the definition of the interface, all methods in the interface are abstract by default. Then I am confused why the specially Runnable interface has an abstract keyword for the run method. I check other interfaces like map, list, etc., but someone doesn't have an abstract keyword.
Please let me know why this is written in the Java source code.
public abstract void run();
thanks
java
viren
source share