You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
3. ã¾ã㯠Java 㧠class J { public static void main(String args[]) { System.out.println("Hello World!"); } } -rw-r--r-- 1 kawachi staff 408 Mar 3 23:07 J.class javac ãã¦â¦ 408 bytes 4. javap -c ã§ã¿ã¦ã¿ã $ javap -c J.class Compiled from "A.java" class J { J(); Code: 0: aload_0 1: invokespecial #1 // Method java/lang/ Object."<init>":()V 4: return public static void main(java.lang.String[]); Code: 0: getstat
The following print statement would print "hello world". Could anyone explain this? System.out.println(randomString(-229985452) + " " + randomString(-147909649)); And randomString() looks like this: public static String randomString(int i) { Random ran = new Random(i); StringBuilder sb = new StringBuilder(); while (true) { int k = ran.nextInt(27); if (k == 0) break; sb.append((char)('`' + k)); } r
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}