Javaに投稿されたコード一覧
import java.util.Arrays; import java.util.Random; public class Main { public static int turi(int p1, int[] coins) { int len = coins.length;
public static void main(String[] args){ System.out.println("Hello World"); }
import javax.swing.*; import java.awt.*; import java.math.*; import java.awt.event.*;
Class Test1{ int a; String b;
//コマンド解釈 public TwitterResponse s(int argment){ int checking = 0;
public static void main(String[] args) throws IOException { String fileName = "http://(サーバIP)/kcs/sound/kc(shipID)/(fileNum).mp3"; URL url = new URL(fileName); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET");
import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import javax.imageio.ImageIO;
import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle;
class Hello { public static void main(String[] args) { Test t = new Test(); t.SetVal(1000); System.out.println(t.GetVal());
class Hello { public static void main(String[] args) { Test t = new Test(); t.val = 1000; System.out.println(t.val);