as my knowledge every method that is writen in interface should be implemented.
but Iterator&Listit erator are two interfaces.but these have some methods like hasnext().these methods are directly calll using reference without writing code.
so some body plz clarify my doubts.plese dont hesitate if it is basic
but Iterator&Listit erator are two interfaces.but these have some methods like hasnext().these methods are directly calll using reference without writing code.
so some body plz clarify my doubts.plese dont hesitate if it is basic
Comment