Adding Years from Date class
<p>Let say i have this:</p>

<pre><code> PrintStream out = System.out;
 Scanner in = new Scanner(System.in);
 out.print("Enter a number ... ");
 int n = in.nextInt();
</code></pre>

<p>i have a random date, for example, 05/06/2015 (its not a fixed date, its random everytime). If I want to take the 'year' of the this date, and add whatever 'n' is to this year, how do i do that?</p>

<p>all the methods in Date Class aren't 'int'. </p>

<p>and to add years from an int, 'years' has to be an int as well</p>
