Unit examples

  • Units are called functions in C and C++. <bib>ammann-offutt:2008</bib>
  • Units are called procedures or functions in Ada. <bib>ammann-offutt:2008</bib>
  • Units are called methods in Java. <bib>ammann-offutt:2008</bib>
  • Units are called subroutines in Fortran. <bib>ammann-offutt:2008</bib>