Dear JAVA Gods:

I am reading the material on shadowing.  Here is the code.

public class Circle {
    private int x, y, radius;
    public void setOrigin(int x, int y) {
        ...
    }
}

I my understanding there is a field which is also used as the
parameter.  So for instance, if private int x = 5 then the parameter x
of setOrigin will also equal 5.  What do you think?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to