Explain this java code please?
<p>I have just copied the parts of the program that i dont fully understand, if you could explain it to me.
Thanks</p>

<p>// I know the first line creates a new object of the scanner class called sc
// The second line asks for input
//What does the third line do?</p>

<pre><code>Scanner sc = new Scanner(System.in);
System.out.print("Enter Initial Price");
price = sc.nextDouble();
</code></pre>
