posted 11 years ago
Hi, just working with an array search for a specific item. They array is populated by people object with data member "name" and "phone number" I used a getter (getPhoneNumber which returns an int) method to return the phone number. when I go to compile its giving me a
"int can not be dereferenced" error
can someone explain what that is? and why my code is creating that error?