更多“Which statement is true about FLUSH LOGS command?() ”相关问题
  • 第1题:

    在窗体上画了两个按钮控件Command1和Command2,有如下程序: Private Sub Command1_Click() Print "Visual"; End Sub Private Sub Command2_Click() Print "Basic"; End Sub Private Sub Form_Load() CommandCancel=True Command1.Cancel=True End Sub 执行程序后,按键盘Cancel键,在窗体上输出的结果是

    A.Basic

    B.Visual

    C.Cancel

    D.True


    正确答案:B
    解析:窗体中只能有一个CommandButton控件为取消按钮。当一个CommandButton控件的Cancel属性被设置为Tree时,窗体中其他CommandButton控件的Cancel属性自动地被设置为False。当CommandButton控件的Cancel属性被设置为True,而且当前窗体处于活动状态时,按Cancel键可以触发该按钮Click事件,而不管该控件是否获得焦点。本题开始时Command2的Cancel属性为,True,但随后由于Command1的该属性变为True,Command2的Cancel属性变为False,因此按Cancel键后执行Command1_Click过程。

  • 第2题:

    下列选项中,关于Statement描述错误的是()

    A.Statement是用来执行SQL语句的

    B.Statement是PreparedStatement的子接口

    C.获取Statement实现需要使用Connection的createStatement()方法

    D.PreparedStatement能使用参数占位符,而Statement不行


    Statement是PreparedStatement的子接口

  • 第3题:

    下列选项中,关于Statement描述错误的是()

    A.Statement是用来执行SQL语句的

    B.Statement是PreparedStatement的子接口

    C.获取Statement实现需要使用Connection的createStatement()方法

    D.PreparedStatement能使用参数占位符,而Statement不行


    Statement是PreparedStatement的子接口

  • 第4题:

    Whatisthedefaulttracefile(forLinux)thatisusedfortheinitialdebuggingofIBMTivoliFederatedIdentityManagerRuntime?()

    A./opt/IBM/FIM/logs/<ITFIMDomainName>/tivoli-common/FBT/logs/msg.log

    B./opt/IBM/FIM/logs/<ITFIMDomainName>/tivoli-common/FBT/logs/trace.log

    C./opt/IBM/WebSphere/AppServer/profiles/<servername>/logs/<profile>/trace.log

    D./opt/IBM/WebSphere/AppServer/profiles/<servername>/logs/<profile>/SystemOut.log


    参考答案:B

  • 第5题:

    flush的含义为刷新,在写入数据时使用,只有输出流拥有flush()方法


    正确

  • 第6题:

    3.下列选项中,关于Statement描述错误的是() A: Statement是用来执行SQL语句的 B: Statement是PreparedStatement的子接口 C: 获取Statement实现需要使用Connection的createStatement()方法 D: PreparedStatement能使用参数占位符,而Statement不行

    A.A B C D

    B.A B C D

    C.A B C D

    D.A B C D


    Statement 是 PreparedStatement 的子接口