Search:

Type: Posts; User: JohnJohnson123

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    1,252

    Re: Instance method

    Thanks Norm.

    I don't get it. I'm trying to turn x into a string. And x is all over the place.

    There are a lot of problems in this code.
  2. Replies
    3
    Views
    1,252

    Instance method

    public class Rectangle {
    private final int width = 0;
    private final int height = 0;
    public Point origin;

    // use:
    public Rectangle() {
    origin = new Point(0, 0);
    ...
Results 1 to 2 of 2