试题详情
- 单项选择题 You define the following regular expression of currency values: regex tx = new regex("^-?/d+(/./d{2})?$") You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use. What should you do?()
A、The tx.Matches(Bill)
B、The tx.Equals(Bill)
C、The tx.Match(Bill)
D、The tx.IsMatch(Bill)
- D
关注下方微信公众号,在线模考后查看
热门试题
- YouneedtoconfigureMi
- 您编写下面的代码段,调用函数从 Win
- 为应用程序开发人员上班 Certkil
- 以下哪个工具你可以用来检测运行在你的Wi
- You have
- 你是TestKing网站的技术员,所有的
- Your network&e
- Certkiller.COM有一个包含W
- YoucreateaWindowscli
- 您公司网络中所有客户端计算机运行的都是W
- Your company has an
- 您的计算机上安装了无线网络适配卡,但是计
- You deploy&ens
- 你是TestKing网站的电脑管理员,公
- Youshareacomputerwit
- You are th
- Your company&r
- You work
- 为应用程序开发人员上班 Certkill
- You deploy&ens