You can create a constructor in the super class soyou can make myCollection final