Don't understand java operator ? and : : <pre><code>public static void openWebpage(URI uri) {
    Desktop desktop = Desktop.isDesktopSupported() ? Desktop.getDesktop() : null;
    if (desktop != null &amp;&amp; desktop.isSupported(Desktop.Action.BROWSE)) {
        try {
            desktop.browse(uri);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
</code></pre>

<p>And I don't know what the ? and the : at the end is meaning.</p>

<pre><code>Desktop desktop = Desktop.isDesktopSupported() ? Desktop.getDesktop() : null;
</code></pre>

<p>Can you help me?</p>
