can you please help me am very new to java and i have this assignment
<p>Write a Java program to read N integers from the keyboard and store them into a file
“mynumbers.dat”. Reading should stop when zero is entered. Your program should then
perform the following operations on the set of integers entered:</p>

<ol>
<li><p>Remove redundant elements</p></li>
<li><p>Sort the elements entered in ascending order</p></li>
<li><p>Store the redundancy-free sorted elements in another file “mysortednumbers.dat”</p></li>
<li><p>Display the maximum, the minimum, the mean and median of the elements in (c)</p></li>
</ol>
