代码搜索:println
找到约 10,000 项符合「println」的源代码
代码结果 10,000
www.eeworm.com/read/169056/9884124
java multidimensional.java
public class MultiDimensional
{
public static void main(String[] args)
{
int i, j, k;
int val[][][] = {{{1,2},{3,4}}, {{5,6},{7,8}}, {{9,10},{11,12}}};
for (i = 0; i
www.eeworm.com/read/169056/9884130
java checkforread.java
import java.io.*;
public class CheckForRead
{
public static void main(String[] args)
throws java.io.IOException
{
String fileName = "prices.dat";
File inFile = new File(fileNa
www.eeworm.com/read/169056/9884182
java formatintegers.java
import java.text.*; // this is required to access the NumberFormat class
public class FormatIntegers
{
public static void main(String[] args)
{
// this sets up the desired format
Nu
www.eeworm.com/read/169056/9884186
java converttemperatures.java
import java.io.*; // needed for keyboard input
import java.text.*; // needed for formatting
public class ConvertTemperatures
{
public static void main(String[] args)
throws java.io.IOExcep
www.eeworm.com/read/169056/9884188
java stringbuffermethods.java
import java.io.*;
public class StringBufferMethods
{
public static void main (String[] args)
{
StringBuffer str = new StringBuffer("This cannot be");
int i, numChars;
S
www.eeworm.com/read/169056/9884196
java kbr.java
// This class can be used to enter single character and numerical
// values at the Keyboard, as described in Appendix G of the text.
import java.io.*; // needed to access input stream classes
www.eeworm.com/read/169056/9884206
java shallowcopy.java
public class ShallowCopy
{
public static void main(String[] args)
{
int i;
int nums[] = {2, 18, 1, 27, 16};
int newnums[] = new int[nums.length];
// this produce
www.eeworm.com/read/169056/9884251
java displaylocales.java
import java.util.*; // needed for Locale
import java.text.*; // needed for NumberFormat
public class DisplayLocales
{
public static void main(String[] args)
{
int i, number;
Lo
www.eeworm.com/read/169056/9884265
java withformats.java
import java.text.*; // this is required to access the DecimalFormat class
public class WithFormats
{
public static void main(String[] args)
{
// this next statement creates the default
www.eeworm.com/read/169056/9884269
java runtimedimension.java
import javax.swing.*;
public class RunTimeDimension
{
public static void main(String[] args)
{
inti, numgrades;
String s1;
s1 = JOptionPane.showInputDialog("Enter the number of