Search:

Type: Posts; User: GregBrannon

Search: Search took 0.09 seconds.

  1. Re: Testing Constructor Overloading using Eclipse

    It's more of a curiosity than anything else. The vertical spacing and resultant 'pacing' in your source code appears to be inconsistent and arbitrary. I see it often, and I always wonder why it's...
  2. Re: Testing Constructor Overloading using Eclipse

    In the code you posted, it WAS not static, so you must mean that you added the static keyword.

    And, yes, I already explained to you that the class with the main() must be the top-level public...
  3. Re: Testing Constructor Overloading using Eclipse

    The main() method must be declared static, and it must also be in the top-level public class.

    Your class Point3DOverloadConstructors is currently enclosed in Point3D because (I think) you missed...
  4. Re: Testing Constructor Overloading using Eclipse

    Does the class have a main() method? If yes, then post the code so that we can see what's wrong with it.
Results 1 to 4 of 4