📄 instancevarinittest.java
字号:
/**
* Copyright (c) 2003-2005 Craig Setera
* All Rights Reserved.
* Licensed under the Eclipse Public License - v 1.0
* For more information see http://www.eclipse.org/legal/epl-v10.html
*/
package preverification.inputs;
import preverification.tests.ITestable;
import preverification.tests.TestException;
/**
* Type description
* <p />
* Copyright (c) 2003-2005 Craig Setera<br>
* All Rights Reserved.<br>
* Licensed under the Eclipse Public License - v 1.0<p/>
* <br>
* $Revision: 1.1 $
* <br>
* $Date: 2006/02/11 21:26:42 $
* <br>
* @author Craig Setera
*/
public class InstanceVarInitTest implements ITestable {
private static final int STATIC_VAL = 100;
private final int INST_VAL = 101;
public Object test(Object[] arguments)
throws TestException
{
System.out.println(STATIC_VAL);
System.out.println(INST_VAL);
return null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -