Topic: 我的程序如下编译没有报错但是看不到效果

  Print this page

1.我的程序如下编译没有报错但是看不到效果 Copy to clipboard
Posted by: wintry
Posted on: 2006-02-23 09:04

我的程序如下编译没有报错但是看不到效果请问如何改正
我刚刚开始学希望您能多多指教
package javawork.helowApp;
import java.util.*;
public class z {
public static void main(String args[]){
System.out.println("Total Memory= ");
}
}

2.Re:我的程序如下编译没有报错但是看不到效果 [Re: wintry] Copy to clipboard
Posted by: why
Posted on: 2006-02-23 11:23

And how you execute this Java program and what is resulted?
What 效果 do you want to see?

> java javawork.helowApp.z

you should consider rename the class to a proper class name that begins with an BTW, uppercase character.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923