多选题

Which three will compile and run without exception?()

Aprivate synchronized Object o;

Bvoid go() {synchronized() {  }

Cpublic synchronized void go() {  }

Dprivate synchronized(this) void go() {  }

Evoid go() {synchronized(Object.class) {  }

Fvoid go() {Object o = new Object();synchronized(o) {  }

正确答案

来源:www.examk.com

答案解析

相似试题
  • Which three operations require undo data()

    多选题查看答案

  • Which three scenarios are true about Domains?()

    多选题查看答案

  • Which three statements are true regarding subqueries?()

    多选题查看答案

  • Which three statements are true about windows?() 

    多选题查看答案

  • In which three situations is incomplete recovery required?()

    多选题查看答案

  • Which three statements are correct about temporary tables?()

    多选题查看答案

  • In which three cases does a checkpoint occur? ()

    多选题查看答案

  • Which three statements are true about persistent configuration?()  

    多选题查看答案

  • Which three statements are true regarding persistent lightweight jobs?()

    多选题查看答案