CMD could not print class file

http://img.mukewang.com/5652fdf10001808d05580508.jpg

Look at the CMD picture, it was fine after compiled, but why did it not  print the code what I programmed in java file?  Does it has some problem in my environment variables?  Who can help me? Thank you.

木易念青
浏览 1403回答 1
1回答

yes居然被占用

这是一个例子,你可以把它放到java文件中,我估计是你的main方法有问题,没有源码只能猜测public class FirstJavaCode{    public static void main(String[] args){        System.out.println("abc");    }}
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java