I am trying to make an Arraylist that accepts any class variable that inherited from Word_Class but it doesn't work :
var lst = ArrayList<Class<Word_Class>>();
lst.add(Class<Noun_Class>);
I am looking for the syntax for Class< ? extends class_name> in kotlin