my point of view inheritance is more pwerful because interface are given to implement multilevel or hirechical inheritance,which is not supported by java classes
Type: Posts; User: nandyalaajay2000; Keyword(s):
my point of view inheritance is more pwerful because interface are given to implement multilevel or hirechical inheritance,which is not supported by java classes
Normally in any applications we are using HTTP as request,but swings and awt doesn't akllow http inputs,so normally we using servlets or jsppages as presentation logic
the most real time example of abstract class and interface is bulding a house
1)concrete methods are explained with completed house.
2)abstract classes are explained with completed house but a...
1) abstract class may or maynot be contain abstract methods,but interfaces must contain abstract methods only
2)abstract class contains both abstract and concrete methods,concrete methods contain...