title: how to write nested condition using ternary operator in java?
body: <p>Can we write like this using ternary operator? When I wrote like this I am getting error,Please help me.How can I write correct syntax? </p>
  
  <pre><code>(str.charAt(j)==c.charAt(k++)) ? break: k&lt;len1 ? continue:break L1;
  </code></pre>