snipt

Ctrl+h for KB shortcuts

Java

Untitled

1
2
3
4
5
class X {
   int a;
   byte b;
   java.lang.Integer c = new java.lang.Integer();
}
https://snipt.net/embed/f7b32ea8e110cd831f4771acb57074a8/
/raw/f7b32ea8e110cd831f4771acb57074a8/
f7b32ea8e110cd831f4771acb57074a8
java
Java
5
2019-05-16T04:09:50
True
False
False
Nov 24, 2012 at 06:43 AM
/api/public/snipt/50702/
-1253
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="kd">class</span> <span class="nc">X</span> <span class="o">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="kt">int</span> <span class="n">a</span><span class="o">;</span> </span><span id="L-3"><a name="L-3"></a> <span class="kt">byte</span> <span class="n">b</span><span class="o">;</span> </span><span id="L-4"><a name="L-4"></a> <span class="n">java</span><span class="o">.</span><span class="na">lang</span><span class="o">.</span><span class="na">Integer</span> <span class="n">c</span> <span class="o">=</span> <span class="k">new</span> <span class="n">java</span><span class="o">.</span><span class="na">lang</span><span class="o">.</span><span class="na">Integer</span><span class="o">();</span> </span><span id="L-5"><a name="L-5"></a><span class="o">}</span> </span></pre></div> </td></tr></table>