Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    3,115

    Re: Point constructor

    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...
  2. Replies
    11
    Views
    3,115

    Re: Point constructor

    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...
Results 1 to 2 of 2