| imho.ws |
![]() |
|
|
|
# 6 |
|
Модератор
Регистрация: 08.07.2002
Адрес: Germany
Сообщения: 397
![]() ![]() ![]() |
class Kabak
{ Time Kogda; Location Gde; int Ocenka; public Kabak(Time Kogda, Location Gde, int Ocenka) { this.Kogda=Kogda; this.Gde=Gde; this.Ocenka=Ocenka; } public bool Result() { if (Ocenka > 4) throw new RuntimeException("Mda. Wezet-je tebe."); if (Gde.City != Gde.Locations.Germany.Hamburg) throw new RuntimeException("Esche chego???"); if (Kogda.IsTimePost(new Time(22, 0, 0)) throw new RuntimeException("Pozdnowato."); return (rand(128) > 64); } System.out.println("Pohuju vse ravno idem"); } Vot tak mi dogowarivaemsia o wstre4ah
__________________
Системных администраторов нужно убивать еще в маленьком возрасте, когда они еще только "ламеры" (посвящено другу) В.И.Ленин(Письмо к Фейрбаху, Том12) |
|
|