class_g.java
来自「软件测试和junit实践一书的源代码」· Java 代码 · 共 25 行
JAVA
25 行
/* * Class_G.java * * Created on 2003年5月13日, 上午9:21 */package com.fastpoint.book;/** * * @author Fastpoint */public class Class_G { /** Creates a new instance of Class_G */ public Class_G() { } public String Method_A(String input) throws Exception{ if (input.equalsIgnoreCase("A")) throw new Exception("is A!"); return "Method_A(String input)"; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?