package MyTest;
import java.beans.BeanInfo;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
class Person {
...
}
class Student extends Perso
That's the for each loop syntax, introduced in Java 5.
It's a for-each loop over the Collection "props". It iterates over all entries of the collection. During each loop iteration, "prop" is the currently processed entry. You can do that with any container class which implements Iterable as well as arrays.