@helloworld922 -- Wouldn't that array just return a string letter as opposed to a number (which is what is needed) ? It is supposed to return the number of vowels/consonants in a string.
Type: Posts; User: Woody619
@helloworld922 -- Wouldn't that array just return a string letter as opposed to a number (which is what is needed) ? It is supposed to return the number of vowels/consonants in a string.
Thanks for that push from both of you! However, when I do give the array values, I get something like this "[C@13caecd" returned instead of the number of vowels or consonants! Any thoughts to where I...
@aussie - "Y" is treated as a consonant.
@Norm - Are you asking if I initialized the return variables to any value? Or is that I need to assign a variable to my return variables? I'm sorry, I am...
Hello once again! I need to make a program that will count the number of vowels and consonants in a string and have that number returned. The program runs, however, it always returns vowels or...
Sorry to bug you guys again. I need the patrol (ParkingTicket object) to return a value.
I have fixed everything else you all have helped me with and this seems to be the one loose string. Below...
I also want to add that I was using a UML and maybe I was not reading it properly, but under certain classes it said "setters and getters omitted".
I took that as being they omitted them from...
A great thanks to everyone! Thank you for taking time out to help a n00b!
I apologize if I didn't seem to "get it", but I'm just a beginner and hoping to become proficient in this language, as...
PS- It seems I accidentally chopped off the top bit of my code. Maybe this can give you guys some more insight:
package parkingticketsimulator;
/**
*
* @author Wood Family
*/
public...
Thank you guys for the help! I've redone my classes to where I am not receiving the '{' is expected error.
However, I am still receiving the static context message. I'm a beginner in Java and I am...
I am doing a Parking Ticket Simulator for a Java class.
I am using NetBeans 6.8 and I keep getting error messages in my code. The two most prominent error messages are: '{' is expected and...