Search:

Type: Posts; User: dcshoecousa

Search: Search took 0.14 seconds.

  1. Replies
    6
    Views
    1,943

    Re: *why won't this compile?*

    I'm not getting any... Its the final question on a coursework - "following code for the two classes in the same package does not compile as expected. Why not?"

    Then there are 6 answers (only 1...
  2. Replies
    6
    Views
    1,943

    *why won't this compile?*

    Hi there,

    Having a slight struggle trying to work out why this code won't compile, has anyone got any ideas?**

    public class ClassA
    {
    int x;
    int y;

    public ClassA(int theX, int theY)
Results 1 to 2 of 2