CAN YOU DECLARE AN INTERFACE METHOD STATIC?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 619  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.

Answer

NEWSLETTER

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