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: Abstract Method

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

    Default Abstract Method

    An abstract method is a method with no implementation. So would like to know what is the purpose of calling it if there is no
    implementation?


  2. #2
    Junior Member
    Join Date
    Feb 2014
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Abstract Method

    An abstract method will placed in abstract class. For each direct subtype from abstract class should implement these abstract method. So:
    "So would like to know what is the purpose of calling it if there is no
    implementation?"
    is wrong, you couldn't call an abstract method.

    You could google with keyword abstract class & abstract method to understand more.

  3. #3
    Junior Member Siboniso Ndlovu's Avatar
    Join Date
    Feb 2014
    Posts
    8
    My Mood
    Bored
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Abstract Method

    Java Abstract Methods - Stack Overflow ...Try this link it might help

  4. The Following User Says Thank You to Siboniso Ndlovu For This Useful Post:

    snowie (March 7th, 2014)

Similar Threads

  1. Replies: 1
    Last Post: May 20th, 2013, 02:19 AM
  2. Abstract method vs overloading
    By tcstcs in forum Java Theory & Questions
    Replies: 4
    Last Post: January 10th, 2013, 02:58 AM
  3. [SOLVED] Abstract method in a non-abstract class
    By bassie in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 2nd, 2012, 11:27 AM
  4. GUI error: is not abstract and does not override abstract method
    By djl1990 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 21st, 2011, 02:26 PM
  5. How to remove argument from abstract method.
    By jainshasha in forum Object Oriented Programming
    Replies: 12
    Last Post: June 30th, 2011, 11:33 PM