普达资讯面试题翻译.docVIP

  • 6
  • 0
  • 约2.74千字
  • 约 2页
  • 2017-08-24 发布于河南
  • 举报
1. What is the difference between = = and equas method in java? String x=”abc”;String y=”abc”; X= = y is true? X.equals(y) is true? ==与 equals的区别 2. String x1=new String(“abc”);String x2=new String(“abc”); x1= =x2 is true? X1.equals(x2) is true? 3. Describe what happens when an object is created in java. 描述创建一个对象会发生什么。先调用基类的构造函数再调用子类的构造函、分配内存 4. How can you force all derived classes to implement a method present in the base class? 怎样强制所有的派生类中实现基类的方法? 5. Doses java pass by refernce or pass by value? JAVA中是按值传递还是按引用传递?按值传递 6. what dose the keyword “synchreyized” mean in java when do you use it?

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档