This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Though we cant create a instance of a abstract class (call the constructor) but if we call the constructor of that abstract class via the sub class dont we instantiate the abstract class which is not possible?
eg:
abstract class Product {
int x;
public Product( int x ) {
this.x = x;
}
}
class Test extends Product {
public Test() {
super(2);
}
}