如果您有这样的程序:
public class ABC
{
public static void main(String args[])
{
System.out.println("1");
http://example.com
System.out.println("2");
}
}
Run Code Online (Sandbox Code Playgroud)
请注意在http://example.com两个输出语句之间写入的URL .
为什么程序编译没有任何错误?
我有这个代码:
static void Main(string[] args)
{
Console.WriteLine("iexplore");
http://www.google.com;
Console.WriteLine("maximize");
Console.ReadLine();
}
Run Code Online (Sandbox Code Playgroud)
我不清楚为什么这个代码会编译?因为我有一个网址,而且它不是ac#keyword ...