Sobes.tech
Junior

Iterator.hasNext() metodunu əvvəlcədən yoxlamadan Iterator.next() metodunu çağırsaq nə baş verər?

sobes.tech Süni İntellekt

AI-dan cavab

java.util.NoSuchElementException istisnası atılacaq.