local class

noun

A class that is declared in the body of a function, and can only be referred to in the rest of the function.

Meanings

nounlocal class (plural local classes)

plural local classes

  1. object-oriented programmingA class that is declared in the body of a function, and can only be referred to in the rest of the function.

    A local class is an inner class that is defined in a block.

    2008 December 19, Khalid A Mughal, Rolf W Rasmussen, A Programmer's Guide to Java Certification: A Comprehensive Primer, Pearson Education

Synonyms & antonyms

Translations

Finnish paikallinen luokka
  • paikallinen luokkaclass declared in the body of a function
French classe locale
  • classe localeclass declared in the body of a function
Cite this entry
APA

local class. (n.d.). In WatkinsX Dictionary. Retrieved November 3, 2026, from https://dictionary.watkinsx.com/word/local%20class

MLA

“local class.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/local%20class. Accessed November 3, 2026.

Chicago

WatkinsX Dictionary, s.v. “local class,” accessed November 3, 2026, https://dictionary.watkinsx.com/word/local%20class.

Source: local class on Wiktionary, CC BY-SA 4.0.