By either defining their types or renaming to match parent class (or interface).
Attach a file by drag & drop or click to upload