[主观题]

C.lass a = new Class(); Class b = new Class();

if(a == b) returns true or false, why?

参考答案与解析:

相关试题

已知如下代码:public class Testlong a[]=new lon

[单选题]已知如下代码: public class Test long a[]=new long[10] public static void main (String args[]{ System.out.println(a[6];} 以下( )语句是正确的。A.Output is null.B.When running,some error will occur.C.When compile,some error will occur.D.Output is 0.

  • 查看答案
  • 阅读下列代码后public class Person{int arr[]=new

    [单选题]阅读下列代码后public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println(arr[1]); }}正确的说法是A.编译时将产生错误B.编译时正确,运行时将产生错误C.输出零D.输出空

  • 查看答案
  • 阅读下列代码后public class Person{int arr[]=new

    [单选题]阅读下列代码后 public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println (arr[1]); } } 正确的说法是( )。A.编译时将产生错误B.编译时正确,运行时将产生错误C.输出零D.输出空

  • 查看答案
  • 阅读下列代码后public class Person{int arr[]=new

    [单选题]阅读下列代码后 public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println(arr[1]); } } 正确的说法是( )。A.编译时将产生错误B.编译时正确,运行时将产生错误C.输出零D.输出空

  • 查看答案
  • In a speaking class, the teacher asks students to work in pairs and create a new short play abo

    [单选题]In a speaking class, the teacher asks students to work in pairs and create

  • 查看答案
  • Excerpt 1<p class="MsoNormal ">  I saw a television advertisement recently for a new

    [单选题]Excerpt 1  I saw a television advertisement recently for a new product call

  • 查看答案
  • Excerpt 1<p class="MsoNormal ">  I saw a television advertisement recently for a new

    [单选题]Excerpt 1  I saw a television advertisement recently for a new product call

  • 查看答案
  • Excerpt 1<p class="MsoNormal ">  I saw a television advertisement recently for a new

    [单选题]Excerpt 1  I saw a television advertisement recently for a new product call

  • 查看答案
  • Excerpt 1<p class="MsoNormal ">  I saw a television advertisement recently for a new

    [单选题]Excerpt 1  I saw a television advertisement recently for a new product call

  • 查看答案
  • Excerpt 1<p class="MsoNormal ">  I saw a television advertisement recently for a new

    [单选题]Excerpt 1  I saw a television advertisement recently for a new product call

  • 查看答案
  • Class a = new Class(); Class b = new Cla