जावा में कोलन का अर्थ क्या है? words
में प्रत्येक आइटमजावा में कॉलन माध्य क्या है?
लिए
public static List<String> findAllAnagrams(List<String> words) {
List<String> result = new LinkedList<String>();
for(String i : words){
for (String j : words){
if (result.contains(i)) {
break;
}
else if (i == j) {
} else {
if (areAnagrams(i,j)){
result.add(i);
System.out.println(result);
}
}
}
}
return result;
}
यह प्रत्येक लूप के लिए जाना जाता है, तो आप इसे Google तक और तब तक करना चाहेंगे अब, किसी भी उत्तर ने इसे अभी तक नामित नहीं किया है। – 11684
संभावित डुप्लिकेट [प्रत्येक लूप के लिए जावा कैसे काम करता है?] (Http://stackoverflow.com/questions/85190/how-does-the-java-for-each-loop-work) –
इस प्रश्न के उत्तर प्रतीत नहीं होता है: यह क्या है: आयात hudson.model.SCMS; (...) एससीएमएस: के लिए (एससीएम एसएमएम: scmTriggerItem।getSCMs()) {कुछ();}? – Gustave