java字符串匹配

时间:2021-01-12 04:15:13
【文件属性】:
文件名称:java字符串匹配
文件大小:1KB
文件格式:JAVA
更新时间:2021-01-12 04:15:13
字符串 3.Build a program using Java array of string, you need to input 5 or more most famous universities in the world, and the annual tuition of each university. Please (1) Display the university name by uppercases that has the longest name; (2) Display the university that has the most expensive tuition. (3) OPTION: input a curtain university; try to search for the matched name in your university list. If there is a match (or no match) found, print a corresponding message. (Hint: one of solutions is to use java.util.regex API 正则表达式)

网友评论