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: Help with my tutorial

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Help with my tutorial

    hello..i'm new in java programming..can anyone help me with this question..write a subclass name CalculateAreaImp for the following java interface
    public interface CalculateAreaInt{
    double calculateTriangleArea (double input);
    double calculateSquareArea (double input);
    }
    Last edited by shukeri; March 15th, 2014 at 10:13 AM.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Mar 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help with my tutorial

    could anyone give some possible answer

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Help with my tutorial

    What questions do you have about interfaces after reading the tutorial?
    Copy one of the examples from the tutorial, paste it here and ask some specific questions about the problems you are having understanding it.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Mar 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help with my tutorial

    write a subclass name CalculateAreaImp for the following java interface:-

    public interface CalculateAreaInt {
    double calculateTriangleArea (double input);
    double calculateSquareArea (double input);
    }
    this is the question

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Help with my tutorial

    Sorry, I don't see any specific questions about interfaces. The code in post#5 looks like the definition of an interface.
    What questions do you have about interfaces after reading the tutorial?
    Copy one of the examples from the tutorial, paste it here and ask some specific questions about the problems you are having understanding it.
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Help with my tutorial

    @shukeri: Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

Similar Threads

  1. Which tutorial should i choose?
    By piulitza in forum JDBC & Databases
    Replies: 4
    Last Post: January 10th, 2012, 09:49 AM
  2. java ws tutorial
    By aracky in forum Member Introductions
    Replies: 1
    Last Post: July 14th, 2010, 03:12 AM
  3. Tutorial requests
    By Json in forum The Cafe
    Replies: 9
    Last Post: August 1st, 2009, 03:14 PM
  4. Store data in database using JSP
    By abhi4jdk in forum Java Servlet
    Replies: 1
    Last Post: May 18th, 2009, 04:42 AM