Please explain and show the program's output.
After removing all static variables here is the output I get:
Type: Posts; User: Norm
Please explain and show the program's output.
After removing all static variables here is the output I get:
Those new classes have static variables that need to be changed so that they belong to the instance not to the class. In other words, each instance of the class has its own value.
Remove the static...
There are several missing classes that prevent the code from being compiled and executed for testing.
Sorry, I do not see any code tags wrapping the code
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get highlighting and preserve formatting.
What packages are imported for this code? Can you add all the import statements?
Also post all of the programs output.
One big problem I see is too many of the variables are declared as static. ...