This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Your method appears to trying to find whether f and d are the same, and they aren't.
Worthwhile reading the API: in particular read the compareTo() method and also the java.lang.Comparable<T> interface.
Hi can anybody help me? i have this piece of code and i get the error char cannot be dereferenced... im new at this..
this piece of code is in a method..and i have to count the total consonants in a word.. im trying to compare it to a string array of vowels.
Shaddy Krishnan wrote:Hi can anybody help me? i have this piece of code and i get the error char cannot be dereferenced... im new at this..
Considering that you posted onto this topic, we'll assume that you read the answers in this topic.... so... can you elaborate what you don't understand about the answers? Otherwise, we'll just be giving you the same answer that was already provided.