By that I mean a baseclass, which was not itself initialised using an instance of the derived class. i.e. lets assume it is not an abstract class.
class GeomObj{
Colour x;
}
class Triangle extends GeomObj{
largestAngle y;
}
GeomObj u;
//now is the following allowed?Taking into account that u was not initialized using an instance of Triangle in the first place
Triangle v = (Triangle)u;