Results 1 to 4 of 4

Thread: abstract class

  1. #1
    yanivdan98 is offline Member
    Join Date
    Feb 2013
    Posts
    10
    Rep Power
    0

    Default abstract class

    hi

    i have a question about abstract class:

    can i create an abstract class without an abstract method? is it possible?

    if yes, i dont understand why do i need it? can i extend this class?

    i will be glad for more explanations

    thanks :)

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default Re: abstract class

    Have you tried it? What happened?
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    yanivdan98 is offline Member
    Join Date
    Feb 2013
    Posts
    10
    Rep Power
    0

    Default Re: abstract class

    hi

    i didnt tried it yet..

    however i read somewhere that it's possible something like that, and i dont understand why? and for what reason it benefit for us?

  4. #4
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default Re: abstract class

    For having a super class implementing a common Interface for example.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

Similar Threads

  1. abstract method-abstract class
    By durgaprasad1407 in forum New To Java
    Replies: 1
    Last Post: 04-29-2011, 07:58 PM
  2. Replies: 4
    Last Post: 04-14-2011, 12:42 PM
  3. How can I call abstract class methods from another class
    By srinivas2828 in forum New To Java
    Replies: 13
    Last Post: 03-12-2010, 03:33 PM
  4. Replies: 6
    Last Post: 02-11-2009, 11:51 AM
  5. Replies: 0
    Last Post: 04-02-2008, 08:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •