Home Tutorialhelp Comment getClass.getName()

 
 

Comment

varun
getClass.getName(),
August 13, 2010 at 5:00 PM

Public class A
{
}
Public class B extends A
{
public static void main String args[])
{
A a = new B();
System.out.println(a.getClass().getName());
}
}

whats the output
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com