i have here two examples, both of them are works well:

```
    class A {
     int sum(){}
    }

   class B with A {}

```

and

```
 mixin A {
     int sum(){}
    }

   class B with A {}

```

what is the difference ?