public class A {
public class B{
public class C {
}
}
public class D {
}
}
If this is my example how I write a java code to get then names of classes like A,B,C and D in a string. Help will highly be appreciated. Thank you