• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to implement runtime polmorphism with concrete classes only  RSS feed

 
S.Reddisekhar Reddy
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to implement runtime polmorphism with concrete classes only
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, is that a question? If you want us to help you you're going to have to be a lot more specific. Otherwise there's not much we can do other than point you at the Java tutorials.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
S.Reddisekhar Reddy wrote:how to implement runtime polmorphism with concrete classes only


Exactly the same way you implement it with interfaces and/or abstract classes. Class B inherits from class A, and overrides some methods from class A.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!