Program spustíme (s volbou -ea nebo selektivním -ea:NázevTřídy):
Obrázek 18. Spuštění AssertDemo s povolením assert