黑暗歲月 有一個String,如何查詢其中是否有y和f字元?最黑暗的辦法就是: 程序1:我知道if、for語句和charAt()啊。 class Test{ public static void main(String args[]) { String str="For my money, the important thing "+"about the meeting was bridge-building";
dev.yesky.com