皮皮学,免费搜题
登录
搜题
【简答题】
(10-6)请根据提示补全程序空白处,使程序能够正确运行。 // 输入一个字符串,判断该字符串是否合法的 email public class Demo1 { public static void main(String[] args ) { String email = JOptionPane. showInputDialog ( " 请输入一个 email" ); String pat = "\\w+[@](\\w+[.])+[a-z|A-Z]{2,10}" ; // 定义正则规范 Pattern pattern = 1 ; Matcher m = 2 ; boolean flag = 3 ; if ( flag ) { System. out .println( email + " 是一个 email 地址! " ); } else { System. out .println( email + " 不是一个 email 地址! " ); } } }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】命令 (n.) ________
【简答题】根据给出的中文意思,写出单词:n.指令;命令
【简答题】根据给出的中文意思,写出单词:n.次序,命令,订单
【判断题】固定资产的大修理费用和日常修理费用,通常不符合固定资产的确认条件,应当在发生时计入当期管理费用。( )
A.
正确
B.
错误
【单选题】固定资产的大修理费用和日常修理费用,通常不符合固定资产的确认条件,应当在发生时计入当期管理费用。( )
A.
正确
B.
错误
【简答题】n. 指令,命令
【单选题】—The supermarket _____ at 9 a.m. and it is _____ at 9 p.m. every day. —So I have to go there before 9 p.m. [     ]
A.
open; close
B.
opens; closed
C.
opens; closes
D.
open; closed
【单选题】Before I go to the mall or maybe I will see a movie instead.
A.
Whether I might go to the mall or see a movie instead.
B.
Before I decide to go to the mall or maybe I will see a movie instead.
C.
Let me give you a call before I go to the mall because I might see a movie instead.
【简答题】固定资产的大修理费用和日常修理费用,通常不符合固定资产的确认条件,应当在发生时计人当期管理费用。( )
【简答题】n.命令
相关题目: