why interface is Static?

PHOTO EMBED

Thu Jan 11 2024 04:36:13 GMT+0000 (Coordinated Universal Time)

Saved by @E23CSEU1151 #java

interface customer
{
    int a=20;
    void purchase();
}
class Owner implements customer
{
    @Override
    public void purchase()
    {
        System.out.println("customer bought "+a + "kg");
    }
    
    
}
class A
{
    public static void main(String[] args)
    {
        
        System.out.println(customer.a+"kg");/* it can be call without making an obj that is why its static*/
    }
}
content_copyCOPY