How do you scan multiple strings in all containing spaces?
<p>I'm attempting to scan in strings one after another and some may contain spaces. As my code functions currently it will only work if each string you type in is one word. What's the proper way to scan in consecutive lines of text, regardless of there being spaces in the line or not. </p>

<pre><code>System.out.print("Enter your first name: ");
                fName = scan.next();

                System.out.print("Enter your last name: ");
                lName = scan.next();

                System.out.print("Enter your street and house number: ");
                address = scan.next();

                System.out.print("Enter your city: ");
                city = scan.next();

                System.out.print("Enter your state: ");
                state = scan.next();

                System.out.print("Enter your telephone number (no spaces): ");
                teleNum = scan.next();

                System.out.print("Enter your zip code: ");
                zip = scan.next();
</code></pre>
