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 3 of 3

Thread: Can help me slove my question please . Seriously need help

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can help me slove my question please . Seriously need help

    Suppose you have an Object A , with public methods a() and b() , and private method c() . And supose you have a subclass of A named B with methods named b() , c() , d() . Draw a UML diagram showing the relationship between these two classes . Explain the inheritance relationship between them and identfy the methods that would be cinsidered polymorphic . [/SIZE]

    Consider the defination of the class C . Define a subclass of C named B taht overrides method m1() so that it returns the difference between m and n instead of their sum .


  2. #2
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 140 Times in 135 Posts

    Default Re: Can help me slove my question please . Seriously need help

    If you need help, then you will want to ask specific questions about what confuses you. All you've done so far is to dump your homework into the forum, and we can't really help you if we don't know what's wrong.

    I suggest that you break down your problems into little steps and then try to solve each small step in isolation. Then if you get stuck, you can come back here and be able to ask an answerable question. Good luck.

  3. #3
    Junior Member
    Join Date
    Oct 2012
    Posts
    24
    My Mood
    Angelic
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Re: Can help me slove my question please . Seriously need help

    This may be useful for you to go through first. Draw your's and then u can post it here for checking.
    Introduction to UML - Unified Modeling Language UML - SmartDraw Tutorials

    Good Luck