String turidagi ikkita o'zgaruvchini katta va kichik harflarni hisobga olmasdan taqqoslash uchun String sinfining equalsIgnoreCase () usulidan foydalanishingiz mumkin. Ushbu usul ikkita String katta yoki kichik harflarni hisobga olmasdan teng yoki teng emasligini ko'rsatuvchi boolean qiymatini qaytaradi. Misol: String str1 = "Hello World"; String str2 = "Hello World"; boolean result = str1.equalsIgnoreCase (((str2); // Natija true
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence