Thank you, the problem that I found in my main was that I was not calling the instantiated object followed by the method.
example:
Object is of type Queue, named q1
Method is enqueue()
my code...
Type: Posts; User: firebluetom
Thank you, the problem that I found in my main was that I was not calling the instantiated object followed by the method.
example:
Object is of type Queue, named q1
Method is enqueue()
my code...
Your code will always print an extra " + ", you can't just erase it.
You can fix this by putting in an if() statement to check if there is more numbers to output.
if(c == 49){ // int i=c; will...
Hello, I have taken only some programming and am just beginning to really learn some little more advanced Java. When I was programming this I took some code I was supplied with and modified it.
...