Ishlarning bir-biriga to'g'ri kelishi uchun iplar yana bir usul; ammo, katta farq shundaki, iplar kodni va ba'zi ma'lumotlarga kirish huquqini bir ob'ekt boshqa ob'ektlarga qanday kirish huquqiga ega bo'lganiga o'xshash tarzda baham ko'rishadi. Mana sizga misol: ``java //Runnable-ni amalga oshirish orqali ip yarating. //MiHilo ob'ektlari o'zlarining iplarida bajarilishi mumkin // chunki MiHilo Runnable-ni amalga oshiradi. class MiHilo implements Runnable { StringHilo; MiHilo{String name}{Name}{Name}{String name}; } //Name entry point of the thread //Name here starts to run public void run (((System.out.println"Com} "Name+H
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence