代码搜索:println

找到约 10,000 项符合「println」的源代码

代码结果 10,000
www.eeworm.com/read/361936/10027805

java testif.java

public class TestIF { public static void main(String[] args) { int i = 20; if(i < 20) { System.out.println("
www.eeworm.com/read/361936/10027815

java testcircle.java

class Point { private double x; private double y; Point(double x1, double y1) { x = x1; y = y1; } public double getX() { return x; } public double getY() {
www.eeworm.com/read/361936/10027817

java testequal.java

public class TestEqual { public static void main(String[] args) { Integer i1 = new Integer(1); Integer i2 = new Integer(1); System.out.println(i1 == i2); System.out.println(i1.equals(i2)
www.eeworm.com/read/361936/10027820

java testprimitive.java

public class TestPrimitive { public static void main(String[] args) { Integer i = new Integer(100); Double d = new Double("123.456"); int j = i.intValue()+d.intValue(); float f
www.eeworm.com/read/361936/10027823

java testtostring.java

public class TestToString { public static void main(String[] args) { Dog d = new Dog(); System.out.println("d:=" + d); } } class Dog { public String toString() { return "I'm a cool
www.eeworm.com/read/361936/10027825

java testinterface.java

public class TestInterface { PetCarer pc = new Worker(); pc.feed(); } interface PetCarer { void feed(); void playWithPet(); } class Worker implements PetCarer { public void feed() {
www.eeworm.com/read/361936/10027828

java testbreak.java

public class TestBreak { public static void main(String args[]) { int stop = 4; for (int i = 1; i
www.eeworm.com/read/361936/10027832

java testmap2.java

import java.util.*; public class TestMap2 { public static void main(String args[]) { Map m1 = new HashMap(); m1.put("one", 1); m1.put("two", 2);
www.eeworm.com/read/361936/10027839

java basicgeneric.java

import java.util.*; public class BasicGeneric { public static void main(String[] args) { List c = new ArrayList(); c.add("aaa"); c.add("bbb"); c.add("ccc"); for(int
www.eeworm.com/read/361936/10027842

java testmap.java

import java.util.*; public class TestMap { public static void main(String args[]) { Map m1 = new HashMap(); Map m2 = new TreeMap(); //m1.put("one",new Integer(1)); m1.put("one