就业数据资源平台
当前位置:首页 > 笔试题目
JAVA工程师选择题


选择题


  1:Which modifier should be applied to a method for the lock of object this to be obtained prior to excution any of the method body?


  A.synchronized


  B.abstract


  C.final


  D.static


  2:


  Give the following java source fragement:


  //point x


  public class Interesting{


  //do something


  }


  Which statement is correctly Java syntax at point x?


  Give the following java source fragement:


  //point x


  public class Interesting{


  //do something


  }


  Which statement is correctly Java syntax at point x?


  A.public class MyClass{//do other thing…}


  B.static int PI=3.14


  C.class MyClass{//do something…}


  D.none


 


就业数据资源平台