local class

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search



local class (plural local classes)

  1. (object-oriented programming) A class that is declared in the body of a function, and can only be referred to in the rest of the function.
    • 2008 December 19, A Programmer's Guide to Java Certification: A Comprehensive Primer[1], Pearson Education:
      A local class is an inner class that is defined in a block.