How do I access the superclass method using the object of a subclass.
eg:
class a
{
public void add()
{
System.out.println("hello");
}
}
class b extends a
{
public void add()
{
System.out.println("hello1");
}
public static void main(
String arg[])
{
a a1=new a();
b b1=new b();
thru b1 i want to print hello.coz when i call b1.add(),method overriding will take place.Plz help.