您现在的位置:在线题库 >> 计算机类 >> JAVA程序设计
  • ID:9110-1126

    JAVA程序中,( )不能用来表示注释。

    A//注释 B/*注释*/ C/注释/ D/**注释*/

  • 相关试题查看更多

  • ID:9110-1549

    Javac编译Java源文件后得到代码叫字节码。(

    选择答案:查看解析

  • ID:9110-1136

    如果需要从文件中读取数据,可以在程序中创建哪一个类的对象?( )

    AFileInputStream BFileOutputStream

    CDataOutputStream DFileWriter

    查看解析

  • ID:9110-11545

    下列选项中,合法的String型字符串常量是(

    A. ’M’ B. How are you C. ’#apple’ D. "apple"

    查看解析

  • ID:9110-1145

    在某个类A中存在一个方法:void getSort(int x),以下能作为这个方法的重载的声明的是( )Avoid GetSort(float x) Bint getSort(int y)
    Cdouble getSort(int x,int y) Dvoid get(int x,int y)

    查看解析

  • ID:9110-22898
    写出下列程序的运行结果:
    int i=10,j=10;
     boolean b=false;
     if(b=i==j)
      System.out.println("True");
     else
      System.out.println("False");  

    查看解析