Itrator Interface در جاوا

      • Itrator is an interface that retrieve the data one after an other.
      • Itrator supports some methods.
      • hs.next() this method return true if the next element is present in the collection else return false.
      • next() method return the next element from the collection.
      • we have to create the object of itrator interface using the method Itrator. example: Itrator ir = ar.itrator();
نظرات 0 + ارسال نظر
برای نمایش آواتار خود در این وبلاگ در سایت Gravatar.com ثبت نام کنید. (راهنما)
ایمیل شما بعد از ثبت نمایش داده نخواهد شد