Java 为什么我的a'';在我的代码中不被识别?
“System.out.printIn”在我编译代码时未被识别字体欺骗了你它是Java 为什么我的a'';在我的代码中不被识别?,java,Java,“System.out.printIn”在我编译代码时未被识别字体欺骗了你它是System.out.println而不是System.out.printIn 它是l(小l)而不是I(大写I)。两者看起来很相似。字体欺骗了你,它是System.out.println而不是System.out.printIn 它是l(小l)而不是I(大写I)。两者看起来相似。不是System.out.printIn。它是System.out.printlnprintln而不是printIn。从单词行打印+LN。我和
System.out.println
而不是System.out.printIn
它是
l
(小l)而不是I
(大写I)。两者看起来很相似。字体欺骗了你,它是System.out.println
而不是System.out.printIn
它是
l
(小l)而不是I
(大写I)。两者看起来相似。不是System.out.printIn。它是System.out.printlnprintln
而不是printIn
。从单词行打印+LN。我和我看起来一样。:)这不是System.out.printIn。它是System.out.printlnprintln
而不是printIn
。从单词行打印+LN。我和我看起来一样。:)
public class NumberTester
{
public static void main (String [] agrs)
{
int numberOfPhones, storagePerPhone, totalStorage;
numberOfPhones =20; storagePerPhone =32;
totalStorage = numberOfPhones * storagePerPhone;
System.out.printIn("If you have");
System.out.printIn(storagePerPhone + " storage per phone and");
System.out.printIn(numberOfPhones + " phones, then");
System.out.printIn("the total amount of storage is " +totalStorage);
}
}