title: Comparing two version strings (4.x.x.x, 5.x.x.x)
body: <p>Is there anyone who knows how to compare two version strings in Java?</p>
  
  <p>For example,</p>
  
  <p>Compare : 1.0.3.1 &amp; 1.0.4.1
  Result : 1.0.4.1</p>
  
  <p>Thanks in advance.</p>