No the values of the variables should all be zero. You are directly printing out what is returned from the functions
without assigning it to your variables. So what you probably saw is those...
Type: Posts; User: dabdi
No the values of the variables should all be zero. You are directly printing out what is returned from the functions
without assigning it to your variables. So what you probably saw is those...
Your problem is you do not assign the values returned from the function into the variables you declared.
Java passes primitives such as integers by value so you should not expect...