Posted By: Pat (Gotroch) on 'CZprogram'
Title:     Implementace extends
Date:      Fri Jan 28 15:13:46 2005

class vehicle{
int id,
date reservedStart,
date reservedEnd,
}

class car extends vehicle{
CarType type,
String spz
}

class bicycle extends vehicle{
BicycleType type,
Color color
}

jak tohle do relacni db? nebo mam pouzit misto vehicle nejaky rozhrani a casy 
rezervace si vytahovat za pomoci tohodle rozhrani?


Kdybych tak byl stejne bohaty jako sem liny...

Search the boards