How do i use separate two integers using dot in java? : <p>I want to make a user to enter integers separated with dot like (11.56.98)
to use after that x=11 y=56 z=98</p>

<pre><code>    `Scanner s = new Scanner(System.in);
    System.out.print("Enter Your number like (36.52.10): ");
    int x = s.nextInt();
    int y = s.nextInt();
    int z = s.nextInt();`
</code></pre>

<p>now how to usedelimiter will change whitespace to dot and how to return to whitespace again</p>
