I'm having problem about writing and reading a variable whose type is `Class<? extends Activity>` but I could find any solution for this.

clas is variable name whose type is `Class<? extends Activity>`. I'm using this variable for opening related activity, when an student clicked in a listactivity

There is no function like `Parcelable.readClass()` or `writeClass()` can anyone help please to solve this

Thx in advance

Here is my `Student.java`

```
public class Student {
    private String id;
    private Class<? extends Activity> clas;

    ...

}

```

Here I created `ParcalebleStudent.java`

```
public class ParcalebleStudent implements Parcelable {
    private Student student;

    ....

    private ParcalebleStudent(Parcel in) {
        student = new Student();
        student.setId(in.readString());
        student.setClas(in.readWhat?????????);//I need help here
    }

    @Override
    public void writeToParcel(Parcel parcel, int flags) {
        parcel.writeString(student.getId());
        parcel.writeWhat???????(student.getClas());//and here

    }
}

```