试题详情
单项选择题 Given a class Repetition: Which code should be inserted at line 1 of Demo.java to compile and run Demo to print "pizzapizza"?()

A、import utils.*;

B、static import utils.*;

C、import utils.Repetition.*;

D、static import utils.Repetition.*;

E、import utils.Repetition.twice();

F、import static utils.Repetition.twice;

G、static import utils.Repetition.twice;

  • F
  • 关注下方微信公众号,在线模考后查看

热门试题