title: String cannot be converted to int error when trying to return
body: <p>So im trying to write a java program for school. It has to convert US time, for example 3PM into european time, 15 in this case. So this is the part where i tranform 24 into 12AM and return it to previous method for printing</p>
  
  <pre><code>if (timeDigit == 0 ){
          timeDigit = 12;
          String suffix = "AM";
          return timeDigit; 
          return suffix;
  </code></pre>
  
  <p>But when i try to compile then i get error: String cannot be converted to int</p>
  
  <p>Any idea how to solve this?</p>