李刚 发表于 2013-8-16 14:47:09

[Oracle interview]Can I have multiple main methods in the same class?

曹凯 发表于 2013-8-16 14:59:54

No theprogram fails to compile. The compiler says that the main method is alreadydefined in the class.
页: [1]
查看完整版本: [Oracle interview]Can I have multiple main methods in the same class?