Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: Please, help me...

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Please, help me...

    Hello every one,
    i pleased you to help me to do this assignment. i tried many time but i fail.i attach acopy of the assignment.



    Last edited by helloworld922; December 29th, 2010 at 03:58 AM.

  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Please, help me...

    What are you having problems with (specifically)? Please post any relevant code you have, as well as any error messages you are getting (if any).

  3. #3
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 286 Times in 225 Posts
    Blog Entries
    4

    Default Re: Please, help me...

    Hello and welcome to the forums.

    You have posted in the What's Wrong With My Code? forum although you have not attached any code.

    Have you started this yet? You need to show you have made an effort before we can help you move forward.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  4. #4
    Junior Member
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Please, help me...

    hi ,
    i'll attach the code an other time.

  5. #5
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,986
    My Mood
    Hungover
    Thanks
    133
    Thanked 557 Times in 478 Posts

    Default Re: Please, help me...

    Quote Originally Posted by empe7or View Post
    hi ,
    i'll attach the code an other time.
    That's not how this works. We are not a code service. If you want one, you're going to have to pay for it. How much are you offering? See the link in my signature on asking smart questions.

    You can't just dump your homework and your code here and expect us to fix it for you. Ask a specific question- that requires boiling your code down to an SSCCE, as specific a piece as possible while still being runnable.

    You aren't going to get any help before you do that.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,986
    My Mood
    Hungover
    Thanks
    133
    Thanked 557 Times in 478 Posts

    Default Re: Please, help me...

    Not shockingly at all, this gem has been crossposted: Please, help me... - Java Forums
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    Member
    Join Date
    Dec 2010
    Posts
    46
    Thanks
    0
    Thanked 10 Times in 10 Posts

    Default Re: Please, help me...

    here's a starter, just for Point
    public class Point {
        private int x1 ;
        private int y1 ; // negative sign in class diagram means private, plus sign means public
     
        public Point(){
            x1=0;
            y1=0;
        }
        public Point(int x2 , int y2 ){
            x1 = x2;
            y1 = y2;
        }
        public double distance ( int x , int y ) {
            // do your distance function here. //
            return 0.0;
        }
        public String toString(){
            return "Points: (" + x1 + "," + y1 + ")";
        }
    }