When passing an object to the System.out.println function the toString() function of that object is used to print the object. You should take into account all variables in the toString() function (eg...
Type: Posts; User: copeg
When passing an object to the System.out.println function the toString() function of that object is used to print the object. You should take into account all variables in the toString() function (eg...
How are the values of the object being printed out? Based upon the code you posted:
System.out.println(A)
should print something entirely different. Did you override the toString method and...