"sip show peers" displays the output like this:
Name/username Host Dyn Nat ACL Port Status
5102/5102 (Unspecified) D 0 Unmonitored
Here i need to take the Name/username separately.for that i have tried the following code.
This displays the following error.
HelloLive.java:209: char cannot be dereferenced
i have tried single quotes instead of double quotes too.but same error.Anyone help me please.
Maybe, you need to use the wrapper type: Character.
On the same topic, i tried the code below, and it worked fine.
prints out ===> f :: d
returns ====> false
Worthwhile reading the API: in particular read the compareTo() method and also the java.lang.Comparable<T> interface.
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.
for (int outerCounter = (wordLength - 1); outerCounter >= 0; outerCounter --)
for (int innerCounter = 1; innerCounter <= MAX; innerCounter ++)
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.