For a university assignment in Java the specification requires that
Code Listings: in 10-point Courier New typeface, and in Landscape mode if you have lines that are too long to fit into Portrait mode.
are included in the documentation. The term seem ambiguous to me and it's a bit late to consult my tutor, how would you define "code listings"? Are these method signatures?