CAN YOU DECLARE AN INTERFACE METHOD STATIC?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 699  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Can you declare an interface method static?

    No, because methods of an interface is abstract by default, and static and abstract keywords can't be used together.

      Modified On Mar-28-2018 12:25:20 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!