JAVA开发基础练习题及答案3_背题版.pdfVIP

  • 9
  • 0
  • 约6.53万字
  • 约 85页
  • 2023-02-12 发布于重庆
  • 举报
*************************************************************************************** 试题说明 本套试题共包括1套试卷 每题均显示答案和解析 JAVA开发基础练习题及答案3(400题) *************************************************************************************** JAVA开发基础练习题及答案3 1.[单选题]给定java 代码如下,编译运行后,输出结果是: public class test { static int i; public int aMethod() { i++; return i; } public static void main (String args[]) { Test test=new Test() ; test.aMethod () ; System.out.println (test.aMethod()) ; } } A)2 B)1 C)3 答案:A 解析:

文档评论(0)

1亿VIP精品文档

相关文档