Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文字列の母音を見つけるためのJavaコーディングは何ですか? JavaでOR演算子を使用するには? Javaプログラムの実行中に記号「 || 」が使用されないためです。
Stringクラスには、 String値に母音があるかどうかを調べるために使用できるcontainsメソッドがあります。また、正規表現を使用して文字を一致させるために使用できるmatchesメソッドもあります。