class Base
{}
class Derived extends Base
{}
class prg
{
public static void main(
String args[])
{
Base obj = new Derived();//1
}
}
can anyone give me whats happenig in '1' in the code above. i know the basic concepts of that. i still want some in-depth details(if any...), using which i could resolve many of my doubts instead posting all of my quesions here..