Sobes.tech
Junior

Co sprawdza operator instanceof?

sobes.tech AI

Odpowiedź od AI

Za pomocą operatora instanceof w Java sprawdzane jest, czy obiekt jest instancją danej klasy lub jej podklasy.