Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Concrete Method

 
rex tony
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Concrete Method,Example?
 
Deepak Chopra
Ranch Hand
Posts: 433
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As per my knowledge, Concrete and abstract are opposite to each other;

Just like abstract method doesn't have implementation detail with it, in the same manner concrete method has implementation details. for eg :


on further digging I found the following :
Suppose we have methodA in superclass, which is override by many of the subclasses, so which is the conrete method:

superclass method is called as concrete method.

Conclusion:

First implementation detail of a method let us to call the method as concrete method.

This is as per my understanding, Please correct me if I am wrong.
 
Deepak Chopra
Ranch Hand
Posts: 433
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As per my knowledge, Concrete and abstract are opposite to each other;

Just like abstract method doesn't have implementation detail with it, in the same manner concrete method has implementation details. for eg :


on further digging I found the following :
Suppose we have methodA in superclass, which is override by many of the subclasses, so which is the conrete method:

superclass method is called as concrete method.

Conclusion:

First implementation detail of a method let us to call the method as concrete method.

This is as per my understanding, Please correct me if I am wrong.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic