String Concatenation

Joining strings end to end, commonly with the + operator.

What is String Concatenation in Java?

String Concatenation — Joining strings end to end, commonly with the + operator.

class Order {
    String describe(String item, int count) {
        return count + " cups of " + item;
    }
}

Level: Apprentice · More Java terms at this level

Updated

In other subjects