Buning uchun biz oddiy Java dasturini yaratamiz, unda zindonning turli qismlarini ifodalovchi bir nechta sinflar mavjud: 1. `Dungeon `: Umumiy zindonni ifodalovchi. 2. `Room `: Zindondagi xonani ifodalovchi. 3. `Wall `: Zindondagi devorni ifodalovchi. 4. `Door `: Ikki xona orasidagi eshikni ifodalovchi. Avval `Wall `, `Door `, va `Room ` sinflarini yaratamiz. `Java sinfi { int x1, y1, x2, y2; Wall x1, y1, y2, y2) { this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2; } { Door x, y; } } Door
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence