View mode: basic / threaded / horizontal-split · Log in · Help
October 24, 2006
double interface inheritance?
Is the stuff below allowed?

>>>

interface C
{
	void f();
}

class CC : C,C
{
	void f() {}
}

void main()
{
	CC cc = new CC();
	cc.f();
}

<<<

I thought it should generate an error?

roel
Top | Discussion index | About this forum | D home