question: public static String extractLastName ( String qualifiedName ) { int i = qualifiedName . lastIndexOf ( '.' ) ; if ( i == - 1 ) return qualifiedName ; return qualifiedName . substring ( i + 1 ) ; }
target:  Given a qualified name, extract the last component. If the input is not qualified, the same string is answered. 