上大学网 > 招聘笔试题 > 正文

厦门高德笔试题和面试题答案

更新时间:上大学网

  下面这套2015厦门高德笔试题,你能做答出几道呢?
  1、使用多线程有哪些方法。

  2、读程序写结果:super()的调用、static成员变量、子类父类的调用问题。

  3、说出public protect private三者的作用范围

  4、switch(e){} e能不能是float型的,为什么。

  5、尽可能多的写出final的作用

  6、重载与覆盖的含义与区别。

  7、多态问题。

  class Father{

  public Father(int a){

  super();

  System.out.println(3);

  print();

  }

  public void print(){

  System.out.println(5);

  }

  }

  class Child extends Father{

  public Child(int a){

  super(a);

  super.print();

  System.out.println(a);

  }

  public void print(){

  System.out.println(7);

  }

  }

  public class TestMian {

  public static void main(String[] args) {

  // TODO Auto-generated method stub

  new Child(9);

  }

  }

  8、写出二分法查找的例子。

  9、写出使用冒泡法的一个类。

  10、要求写一个圆形或者三角形的类,可以供客户在图形用户界面上直接使用。

中国点击率最高的一篇文章 !