This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Abstract modifier  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can a concrete class extend an abstract class?
 
Greenhorn
Posts: 26
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, an abstract class is meant to be extended by concrete class. Since abstract class can not be instantiated, so one of the work of concrete class is to implement abstract methods in the abstract class. Abstract method is a method that is having head without a body, so concrete class gives bodies to all abstract class methods. You can read more here:  https://docs.oracle.com/javase/tutorial/java/IandI/abstract.html
 
Marshal
Posts: 59392
187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
please buy this thing and then I get a fat cut of the action:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!