public class ExpImpl1 extends Object
{
public static void main(String argsd[])
{
ExpImpl1 exp=new ExpImpl1();
System.out.println("in main "+ exp);
}
}
I am trying to print ExpImpl1 object but it is calling Object toString() method.Can you please let me know how it is calling Object toString() method.
Thanks & Regards
Srujana
{
public static void main(String argsd[])
{
ExpImpl1 exp=new ExpImpl1();
System.out.println("in main "+ exp);
}
}
I am trying to print ExpImpl1 object but it is calling Object toString() method.Can you please let me know how it is calling Object toString() method.
Thanks & Regards
Srujana