当前位置: 答题翼 > 问答 > 远程教育 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

下列程序段的输出结果是 public class operatorsandExpressions


下列程序段的输出结果是 public class operatorsandExpressions{ void stringPlus(){ int x=3,y=4,z=5; System.out.println(x+y+z); } }

A. xyz

B. x+y+z

C. 12

D. 以上均不正确

参考答案
您可能感兴趣的试题
  • 下面程序段的输出结果是______。class Test{ public static void main(String args[ ]){ MyThread

  • 执行下面程序段的输出结果为()。 public class Q { public static void main(String argv[]) {

  • 下列程序段的输出结果是()。 public class operatorsandexpressio

  • 下列程序运行后的输出结果为( )。public class Test {public static void main (String args[])

  • 编译运行以下程序后 关于输出结果的说明正确的是()。 public class Conditional{ public static

  • 下列程序的输出结果为()。#include<iostream.h>class TestClass{public:TestClass (){val++;}stat