Question: I have this problem: The GridView I has in the view (shown below) is too long that it doesn't fit entirely in the screen, maybe because one value parameter is too long, and it doesn't follow the text down. This this a screenshot for the GridView:

[![enter image description here](https://i.stack.imgur.com/HPKAh.png)](https://i.stack.imgur.com/HPKAh.png)

And this the code for the GridView

```
<?php Pjax::begin(); ?>    
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'fecha',
            'nombreSesion',
            'objetivosPlanificacion:ntext',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); 
    ?>
<?php Pjax::end(); ?>

```

Answer: 
`java` **doesn't** supports multiple inheritance.

What you are doing is implementing an `interface`. **You can't extend multiple classes in `java` but you can implement multiple interfaces**.

An interface is a reference type and it is similar to class. It is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface. An interface may also contain constants, default methods, static methods, and nested types. Method bodies exist only for default methods and static methods.

A class describes the attributes and behaviors of an object and an interface contains behaviors that a class implements.

For more on `interface`, [click here](https://docs.oracle.com/javase/tutorial/java/concepts/interface.html)
Java doesn't support multiple inheritance.

What you have currently done is implement multiple interfaces which is absolutely permittable.