\usemintedstyle{native}
\definecolor{ourBackgroundColor}{rgb}{0.1,0.1,0.2}

\inputminted[
  breaklines, % line breaks
  linenos=true, % line numbers
  bgcolor=ourBackgroundColor, % background color
  firstline=5, % first line to be included
  lastline=7, % last line to be included
  gobble=4 % remove leading spaces
]{java}{exercises/source-code-listings/Source.java}

\usemintedstyle{default}