title: How to input 3 integers in one line
body: <p>Hello can I input 3 integers in one line in java?
  <br/>im writing time converter
  <br/>I want to input hh:mm:ss with : as separator for int hh, mm, ss
  <br/>this is my code with 3 lines input</p>
  
  <pre><code>public static void main(String[] args) {
      Scanner in = new Scanner(System.in);
      int hh = in.nextInt();
      int mm = in.nextInt();
      int ss = in.nextInt();
      int result;
      result = (hh*3600)+(mm*60)+(ss);
      System.out.println(result);
  }
  </code></pre>