Question d’entretien chez SAP

How can define a class of rectangle with different data types?