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の概念を理解しようとしています。
次のようなことができます。
public String makeName(String prefix, int min, int max) { return prefix + "_" + min + "_" + max; }
次に、それを呼び出すことができます:
String firstName = makeName("Name", 1, 10); // etc.