Deepak the first thing is that
java doesnt have pointer... Now lets see your line
description of this line is :
superclass --> Name of class
RefVariable --> reference variable of class superclass
new--> this is keyword that will create a memory space for object.
subclass()--> calling subclass constructor.
Here RefVariable is denoting object of subclass. But its type is superclass. so its capability will be like this:
1. Using RefVariable you can call a method of subclass but same method must be defined in superclass also.
2. Using RefVariable you can access any instance variable of subclass.
3. Using RefVariable you can access static method of superclass. you cant use this to access static method of subclass.
4. Using RefVariable you can access static variable of superclass.
Now the funda is static method & variable are accessed based on reference While instance method & variable are access based on the object.
hope this will help