point3d.java
来自「程序练习中包括书中实例程序代码和练习中要用到的代码,是压缩文件」· Java 代码 · 共 16 行
JAVA
16 行
package questions.c4;
public class Point3D {
private int x, y, z;
public Point3D( int x, int y, int z ) {
x = x;
y = y;
z = z;
}
// put your finalize method here.
public static void main( String[] args ) {
Point3D p1 = new Point3D( 23, -6, 78 );
p1 = null;
System.gc();
System.runFinalization();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?