Local classes are define in an ABAP program (Transaction SE38) and can only be used in the program in which they are defined.